1
0
forked from extern/nix-config

neovim: Swap tree toggle with window switch

This makes it easier to press enter after switching to the tree window.
This commit is contained in:
Donovan Glover 2023-06-06 14:04:14 -04:00
parent 6d39ed2980
commit c4636b4b05
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -43,13 +43,13 @@
let mapleader = ' '
nnoremap <silent> <leader>e :set nu!<CR>
nnoremap <silent> <leader>t :OverCommandLine<CR>%s/
nnoremap <silent> <leader>a :NvimTreeToggle<CR>
nnoremap <silent> <leader>a <C-w>w
nnoremap <silent> <leader>s :Startify<CR>
nnoremap <silent> <leader>f :Files<CR>
nnoremap <silent> <leader>g :set hlsearch!<CR>
nnoremap <silent> <leader>j :Buffers<CR>
nnoremap <silent> <leader>l :Rg<CR>
nnoremap <silent> <leader>; <C-w>w
nnoremap <silent> <leader>; :NvimTreeToggle<CR>
vnoremap <C-s> y:silent !notify-send -t 4000 "" "$(tango '<C-r>0')"<CR>:<Esc>
autocmd BufNewFile,BufRead *.ecr setlocal syntax=html