Skip to content

How to configure lightspeed to work with vim-surround? #83

Answered by ggandor
jackysee asked this question in Q&A
Discussion options

You must be logged in to vote

Yep, good question, already answered here (same issue): justinmk/vim-sneak#268 (comment)

...
Plug 'ggandor/lightspeed.nvim'
Plug 'tpope/vim-surround'
...
let g:surround_no_mappings = 1
nmap ds       <Plug>Dsurround
nmap cs       <Plug>Csurround
nmap cS       <Plug>CSurround
nmap ys       <Plug>Ysurround
nmap yS       <Plug>YSurround
nmap yss      <Plug>Yssurround
nmap ySs      <Plug>YSsurround
nmap ySS      <Plug>YSsurround
xmap gs       <Plug>VSurround
xmap gS       <Plug>VgSurround

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@ggandor
Comment options

@clementnuss
Comment options

@ggandor
Comment options

@clementnuss
Comment options

@afreakk
Comment options

Answer selected by jackysee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants