Skip to content
Snippets Groups Projects
Commit c6b04863 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

Inspired by Helix

parent eda5f42a
No related branches found
No related tags found
No related merge requests found
...@@ -516,7 +516,7 @@ nmap <leader>tb :TagbarToggle<CR> ...@@ -516,7 +516,7 @@ nmap <leader>tb :TagbarToggle<CR>
" CTRL + \ Open definition in new tab " CTRL + \ Open definition in new tab
" ALT + ] open the definition in a vertical split " ALT + ] open the definition in a vertical split
map <C-\> :tab split<CR>:exec("tag ".expand("<cword>"))<CR> map <C-\> :tab split<Cnmap <Leader>/ <Plug>NERDCommenterToggleR>:exec("tag ".expand("<cword>"))<CR>
map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR> map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR>
...@@ -543,6 +543,10 @@ let g:NERDCustomDelimiters = { ...@@ -543,6 +543,10 @@ let g:NERDCustomDelimiters = {
\ 'robot': { 'left': '#' }, \ 'robot': { 'left': '#' },
\ } \ }
" Bind <Ctrl-C> to toggle comments, like in Helix
nmap <C-c> <Plug>NERDCommenterToggle
xmap <C-c> <Plug>NERDCommenterToggle
" CHADtree " CHADtree
nnoremap <leader>n <cmd>CHADopen<cr> nnoremap <leader>n <cmd>CHADopen<cr>
nnoremap <leader>l <cmd>call setqflist([])<cr> nnoremap <leader>l <cmd>call setqflist([])<cr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment