nvim: Add mapping for fzf; set cident options; run python keybind

This commit is contained in:
olari
2019-12-05 16:59:15 +02:00
parent f94b77b3d8
commit 4bead25489

View File

@@ -27,6 +27,12 @@ nmap <leader>w :w!<cr>
" (useful for handling the permission-denied error) " (useful for handling the permission-denied error)
command W w !sudo tee % > /dev/null command W w !sudo tee % > /dev/null
" Open fzf with ;
map ; :FZF<CR>
" Autoidnent on public: and case: for C/C++
set cindent
set cinoptions=:0,g0
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => VIM user interface " => VIM user interface
@@ -157,6 +163,9 @@ nmap <M-k> mz:m-2<cr>`z
vmap <M-j> :m'>+<cr>`<my`>mzgv`yo`z vmap <M-j> :m'>+<cr>`<my`>mzgv`yo`z
vmap <M-k> :m'<-2<cr>`>my`<mzgv`yo`z vmap <M-k> :m'<-2<cr>`>my`<mzgv`yo`z
" Run python file with <F9>
nnoremap <buffer> <F9> :exec '!python' shellescape(@%, 1)<CR>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => coc.nvim default settings " => coc.nvim default settings