summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/bindings.vim1
-rw-r--r--.config/nvim/settings.vim2
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