Skip to content

Commit

Permalink
fix: rm nerdtree conflicting keys with nav
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Nice committed Jan 5, 2021
1 parent 8daa7a1 commit ef00eae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions etc/init/.config/nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,9 @@ let g:loclist_follow_target = 'last'
let blacklist = ['', 'vim', 'txt']
autocmd BufWritePre * ++once if index(blacklist, &ft) < 0 | retab
autocmd BufWritePre * if index(blacklist, &ft) < 0 | call RemoveDanglingEndlines()

" disable NT keys that conflict with nav
let NERDTreeMapJumpFirstChild='' "K
let NERDTreeMapJumpLastChild='' "J
let NERDTreeMapJumpPrevSibling='' "<C-J>
let NERDTreeMapJumpNextSibling='' "<C-K>

0 comments on commit ef00eae

Please sign in to comment.