vim: simplify link keybinds
This commit is contained in:
parent
000ec85709
commit
6291bf288a
|
@ -1,6 +1,5 @@
|
|||
nnoremap gf :let @a='../'.expand('%')<CR>vi>y<Esc>:tabnew <C-R>"<CR>:let @"=@a
|
||||
vnoremap gf y<Esc>:let @a='../'.expand('%')<CR>:tabnew <C-R>"<CR>:let @"=@a
|
||||
nnoremap mf viwc[]<Esc>hpla(<>)<Left><Left><C-R>=expand('%')<CR><Esc>F/l"_dt>hpa.md<Esc>
|
||||
vnoremap mf c[]<Esc>hpla(<>)<Left><Left><C-R>=expand('%')<CR><Esc>F/l"_dt>hpa.md<Esc>
|
||||
nnoremap ml :r!grep -Rl '' .<Left><Left><Left>
|
||||
vnoremap ml y<Esc>:execute 'r!grep -Rl '.shellescape(@", 1).' .'<CR>
|
||||
nnoremap gl vi)y<Esc>:tabnew <C-R>"<CR>
|
||||
vnoremap gl y<Esc>:tabnew <C-R>"<CR>
|
||||
nnoremap ml viwc[]<Esc>hpla()<Esc>hpa.md<Esc>
|
||||
vnoremap ml c[]<Esc>hpla()<Esc>hpa.md<Esc>
|
||||
|
||||
|
|
Loading…
Reference in New Issue