aboutsummaryrefslogtreecommitdiff
path: root/nvim/.config
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/.config')
-rw-r--r--nvim/.config/nvim/coc-settings.json7
-rw-r--r--nvim/.config/nvim/init.vim7
2 files changed, 11 insertions, 3 deletions
diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json
index fadc705..4361d90 100644
--- a/nvim/.config/nvim/coc-settings.json
+++ b/nvim/.config/nvim/coc-settings.json
@@ -6,6 +6,11 @@
"ansible.ansibleLint.enabled": true,
"snippets.snipmate.enable": false,
"pylsp.plugins.pycodestyle.enabled": false,
+ "pylsp.plugins.pyflakes.enabled": false,
"pylsp.plugins.pylint.enabled": true,
- "pylsp.plugins.pylint.args": ["--rcfile=~/kepler/python/kepler/.pylintrc"]
+ "pylsp.plugins.pylint.args": ["--rcfile=/home/kdam0/kepler/kepler/python/kepler/.pylintrc"],
+ "pylsp.builtin.enableInstallPylspMypy": true,
+ "pylsp.builtin.pylspMypyVersion": "0.961",
+ "pylsp.plugins.pydocstyle.enabled": true,
+ "pydocstring.enable": true
}
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
index da0fcb0..32adf25 100644
--- a/nvim/.config/nvim/init.vim
+++ b/nvim/.config/nvim/init.vim
@@ -43,8 +43,8 @@ call plug#end()
" highlight NonText ctermfg=yellow guifg=yellow
set noswapfile
set encoding=utf-8
- set number
- set relativenumber
+ " set number
+ " set relativenumber
"set cursorline
let mapleader = ","
set pastetoggle=<leader>v
@@ -168,6 +168,7 @@ call plug#end()
map <Leader>g :ProjectFiles<CR>
map <Leader>f :Files<CR>
+ map <Leader>b :Buffers<CR>
" Turns off highlighting on the bits of code that are changed, so the line that is changed is highlighted but the actual text that has changed stands out on the line and is readable.
@@ -200,6 +201,8 @@ call plug#end()
highlight CocErrorHighlight ctermfg=Red guifg=#ff0000
highlight CocFloating ctermbg=Black
nmap <silent> ga <Plug>(coc-codeaction-line)
+ xmap <silent> ga <Plug>(coc-codeaction-selected)
+ nmap <silent> gA <Plug>(coc-codeaction)
imap <C-l> <Plug>(coc-snippets-expand)
" Use <C-j> for jump to next placeholder, it's default of coc.nvim
let g:coc_snippet_next = '<c-j>'