30 lines
1.1 KiB
VimL
30 lines
1.1 KiB
VimL
runtime plugins.vim
|
|
runtime settings.vim
|
|
runtime themes.vim
|
|
runtime autocommands.vim
|
|
runtime coc.vim
|
|
runtime keys.vim
|
|
|
|
" Check code as python3 by default
|
|
let g:neomake_python_python_maker = neomake#makers#ft#python#python()
|
|
let g:neomake_python_flake8_maker = neomake#makers#ft#python#flake8()
|
|
let g:neomake_python_python_maker.exe = 'python3 -m py_compile'
|
|
let g:neomake_python_flake8_maker.exe = 'python3 -m flake8'
|
|
|
|
" Disable error messages inside the buffer, next to the problematic line
|
|
let g:neomake_virtualtext_current_error = 1
|
|
|
|
"------------------------------------------------------------------------------
|
|
" Shawn Anderson as of September 30th 2020
|
|
noremap <leader>f 0
|
|
noremap <leader>j $
|
|
set ignorecase " ignores case of letters on searches
|
|
set smartcase " Override the 'ignorecase' option if the search pattern contains upper case characters
|
|
map <leader>/ :nohl<CR>
|
|
noremap <C-j> jj
|
|
noremap <C-k> kk
|
|
|
|
" This makes the location of the current open file always the current working
|
|
" directory of vim. This pairs very nicely with tmux. Added - Sept 15th 2020
|
|
autocmd BufEnter * lcd %:p:h
|