mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +03:00
Vim is just awesome
This commit is contained in:
parent
aa45f576d4
commit
bed50d44db
1 changed files with 7 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
call plug#begin('~/.local/share/nvim/plugged')
|
call plug#begin('~/.local/share/nvim/plugged')
|
||||||
|
|
||||||
"UI
|
"UI
|
||||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||||
Plug 'vim-airline/vim-airline'
|
Plug 'vim-airline/vim-airline'
|
||||||
|
|
@ -23,6 +24,7 @@ Plug 'heavenshell/vim-pydocstring'
|
||||||
"Plug 'skyleach/pudb.vim'
|
"Plug 'skyleach/pudb.vim'
|
||||||
|
|
||||||
"Other
|
"Other
|
||||||
|
Plug 'https://gitlab.com/code-stats/code-stats-vim.git'
|
||||||
Plug 'wakatime/vim-wakatime'
|
Plug 'wakatime/vim-wakatime'
|
||||||
Plug 'ctrlpvim/ctrlp.vim'
|
Plug 'ctrlpvim/ctrlp.vim'
|
||||||
Plug 'lervag/vimtex'
|
Plug 'lervag/vimtex'
|
||||||
|
|
@ -34,6 +36,7 @@ Plug 'ryanoasis/vim-devicons'
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set runtimepath+=~/.config/nvim/my-snippets/
|
set runtimepath+=~/.config/nvim/my-snippets/
|
||||||
|
let g:codestats_api_key="SFMyNTY.VTNGeWRFMXBiblZ6VDI1bCMjTlRRek1RPT0.V3iEAki_kRH75zwoXQ3u5Zng-Q_h0XRlUsb9ld09Cdc"
|
||||||
|
|
||||||
"LaTeX
|
"LaTeX
|
||||||
let g:tex_flavor='latex'
|
let g:tex_flavor='latex'
|
||||||
|
|
@ -48,7 +51,7 @@ let g:tex_conceal='abdmgs'
|
||||||
let g:pymode_python = 'python3'
|
let g:pymode_python = 'python3'
|
||||||
let g:pymode_rope = 1
|
let g:pymode_rope = 1
|
||||||
let g:pymode_rope_completion = 0
|
let g:pymode_rope_completion = 0
|
||||||
|
let NERDTreeIgnore = ['\.pyc$', '^__pycache__$']
|
||||||
|
|
||||||
map <F8> :PymodeRun<CR>
|
map <F8> :PymodeRun<CR>
|
||||||
au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
|
au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
|
||||||
|
|
@ -74,7 +77,7 @@ nmap <C-l> <C-W>l
|
||||||
"Snippets
|
"Snippets
|
||||||
let g:UltiSnipsUsePythonVersion = 3
|
let g:UltiSnipsUsePythonVersion = 3
|
||||||
let g:UltiSnipsExpandTrigger="<C-j>"
|
let g:UltiSnipsExpandTrigger="<C-j>"
|
||||||
let g:UltiSnipsJumpForwardTrigger="<s-tab>"
|
let g:UltiSnipsJumpForwardTrigger="<C-S-j>"
|
||||||
let g:UltiSnipsJumpBackwardTrigger=""
|
let g:UltiSnipsJumpBackwardTrigger=""
|
||||||
|
|
||||||
"Indent stuff
|
"Indent stuff
|
||||||
|
|
@ -84,6 +87,8 @@ set smarttab
|
||||||
set expandtab
|
set expandtab
|
||||||
set smartindent
|
set smartindent
|
||||||
set autoindent
|
set autoindent
|
||||||
|
set foldmethod=indent
|
||||||
|
set foldlevelstart=1
|
||||||
|
|
||||||
"spell
|
"spell
|
||||||
"set spell spelllang=en,ru
|
"set spell spelllang=en,ru
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue