python/efm config that's better

This commit is contained in:
Barak Michener 2024-01-09 13:24:18 -08:00 committed by Barak Michener
parent 4eca2ee06a
commit 2e87881195
3 changed files with 148 additions and 31 deletions

11
.vimrc
View file

@ -222,7 +222,9 @@ Plug 'ray-x/go.nvim'
Plug 'RishabhRD/popfix'
Plug 'RishabhRD/nvim-lsputils'
Plug 'stevanmilic/nvim-lspimport'
Plug 'folke/trouble.nvim'
Plug 'creativenull/efmls-configs-nvim', { 'tag': 'v1.*' }
" Plugins that do specific things
"Plug 'Shougo/vimproc.vim'
@ -254,6 +256,7 @@ Plug 'danymat/neogen'
" Unclear
"Plug 'ncm2/float-preview.nvim'
Plug 'lambdalisue/gina.vim'
Plug 'edolphin-ydf/goimpl.nvim'
call plug#end()
@ -292,6 +295,8 @@ nnoremap <silent> <leader>xx <cmd>TroubleToggle<cr>
nnoremap <silent> <leader>xq <cmd>lua vim.diagnostic.setqflist()<CR>
"nnoremap <silent> <leader>nc <cmd>lua neogen_dwim()<CR>
nnoremap <silent> <leader>nc <cmd>lua require('neogen').generate({ type = 'any' })<CR>
nnoremap <silent> gm <cmd>lua require('lspimport').import()<CR>
" Set updatetime for CursorHold
" 300ms of no cursor movement to trigger CursorHold
@ -1029,7 +1034,8 @@ nnoremap <Leader>hh :A<CR>
" CommandT is useful, but if I'm juggling lots of buffers, limit it to another
" one I have open (instead of standard <Leader>t).
"nnoremap <silent> <Leader>o :<C-u>Buffers<CR>
nnoremap <silent> <Leader>o <cmd>lua require('telescope.builtin').buffers{}<cr>
nnoremap <silent> <Leader>o <cmd>lua require('telescope.builtin').buffers{initial_mode = "insert"}<cr>
nnoremap <silent> <C-j> <cmd>lua require('telescope.builtin').buffers{prompt_prefix = " "}<cr>
"nnoremap <Leader>j <C-^>
"nnoremap <Leader>p :PTW
nnoremap <Leader>p :LustyJugglePrevious<CR>
@ -1046,9 +1052,6 @@ endif
" ** SEE ALSO **
" filetype.vim
command Comments lexpr system($HOME . '/src/gogh/src/github.com/barakmich/gogh/gogh')
"call remote#host#RegisterPlugin('python3', '/home/barak/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete', [
"\ {'sync': v:true, 'name': '_deoplete', 'type': 'function', 'opts': {}},
"\ ])