Add codelines mappings
This commit is contained in:
parent
74d42fac18
commit
2a3668363b
4 changed files with 7 additions and 7 deletions
|
@ -2,4 +2,6 @@ function! codelines#close()
|
|||
let n_line = search('//>', 'bnW')
|
||||
return trim(substitute(getline(n_line), '>', '<', ''))
|
||||
endfunction
|
||||
|
||||
inoremap <silent> <Plug>(codelines-close) <c-r>=codelines#close()<cr>
|
||||
noremap <silent> <Plug>(codelines-go-to-def) :exec "vimgrep #//>" . strpart(expand('<cword>'), 3) . "# code/*"<cr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue