-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
85 lines (70 loc) · 1.95 KB
/
.vimrc
File metadata and controls
85 lines (70 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
" Install vim-plug and plugins if vim-plug is not already installed
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('/home/raarv/.vim/plugins')
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
"Plug 'vim-scripts/ReplaceWithRegister'
Plug 'christoomey/vim-titlecase'
Plug 'christoomey/vim-sort-motion'
Plug 'christoomey/vim-system-copy'
Plug 'kana/vim-textobj-user'
Plug 'kana/vim-textobj-indent'
Plug 'kana/vim-textobj-entire'
Plug 'kana/vim-textobj-line'
"Plug 'sheerun/vim-polyglot'
Plug 'lervag/vimtex'
Plug 'christoomey/vim-tmux-navigator'
"Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
Plug 'dracula/vim'
call plug#end()
:set encoding=utf-8
:set relativenumber
:set incsearch
:syntax on
:set laststatus=2
:set ruler
:set number
:set noerrorbells
:set foldmethod=indent
:set nofoldenable
:set foldlevelstart=300
:set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab
filetype plugin on
set grepprg=grep\ -nH\ $*
filetype indent on
let g:tex_flavor='latex'
"Enable folding with the spacebar
nnoremap <space> za
"split navigations
"nnoremap <C-J> <C-W><C-J>
"nnoremap <C-K> <C-W><C-K>
"nnoremap <C-L> <C-W><C-L>
"nnoremap <C-H> <C-W><C-H>
color dracula
set colorcolumn=80
highlight ColorColumn ctermbg=233
set tabstop=4
set softtabstop=4
set shiftwidth=4
set shiftround
set expandtab
set textwidth=80
set nobackup
set nowritebackup
set noswapfile
"enable python 3 syntax checking on python-mode
let g:pymode_python = 'python3'
" Vimtex
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
set conceallevel=1
let g:tex_conceal='abdmg'
" Disabling latex from polyglot
let g:polyglot_disabled = ['latex']