diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-20 21:26:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-20 21:26:25 +0200 |
commit | 9b6d1e3281082ec941d71f115c3995a3b210560e (patch) | |
tree | 2654ec1896c4e0ece51e1bb45aca94983c98439d /.config | |
parent | Startify update (diff) | |
download | dotfiles-bsd-9b6d1e3281082ec941d71f115c3995a3b210560e.tar.gz dotfiles-bsd-9b6d1e3281082ec941d71f115c3995a3b210560e.tar.bz2 dotfiles-bsd-9b6d1e3281082ec941d71f115c3995a3b210560e.tar.xz dotfiles-bsd-9b6d1e3281082ec941d71f115c3995a3b210560e.tar.zst dotfiles-bsd-9b6d1e3281082ec941d71f115c3995a3b210560e.zip |
Fix
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/bindings.vim | 1 | ||||
-rw-r--r-- | .config/nvim/settings.vim | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.config/nvim/bindings.vim b/.config/nvim/bindings.vim index 0165d7a..dbea3af 100644 --- a/.config/nvim/bindings.vim +++ b/.config/nvim/bindings.vim @@ -18,6 +18,7 @@ nnoremap <silent> <leader>g :G<CR> nnoremap <silent> <leader>d :Vifm<CR> nnoremap <silent> <leader>e :Files<CR> nnoremap <silent> <leader>b :Buffers<CR> +nnoremap <silent> <leader>p :<C-u>CocList -A --normal yank<CR> nnoremap <leader>s :w<CR> nnoremap <leader>w :w<CR>:bp<CR>:bd #<CR> nnoremap <leader>x :w<CR>:bp<CR>:bd #<CR> diff --git a/.config/nvim/settings.vim b/.config/nvim/settings.vim index 6e977c6..c04aeeb 100644 --- a/.config/nvim/settings.vim +++ b/.config/nvim/settings.vim @@ -24,5 +24,3 @@ let mapleader="\\" let maplocalleader="\\" " Disables automatic commenting on newline: autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o -" Reopen Startify on close -autocmd BufEnter * if line2byte('.') == -1 && len(tabpagebuflist()) == 1 | Startify | endif |