-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc
More file actions
54 lines (42 loc) · 978 Bytes
/
.vimrc
File metadata and controls
54 lines (42 loc) · 978 Bytes
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
" Plugins
call plug#begin()
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': 'UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'SirVer/ultisnips'
endif
call plug#end()
" Some preferences
inoremap jj <ESC>
let mapleader = "'"
filetype plugin on
filetype indent on
set encoding=utf8
set tabstop=4
set shiftwidth=4
highlight Folded ctermbg=Black ctermfg=Blue
set number
set nu rnu
syntax on
set noswapfile
set hlsearch
set ignorecase
set incsearch
" LaTeX preferences
let g:Imap_FreezeImap=1
autocmd Filetype tex setlocal nofoldenable
let g:tex_flavor='latex'
let g:tex_math_envs='tikzcd'
set conceallevel=1
let g:tex_conceal='abdmg'
hi Conceal ctermbg=NONE
" Snippets preferences
let g:UltiSnipsExpandTrigger='<tab>'
let g:UltiSnipsJumpForwardTrigger='<tab>'
let g:UltiSnipsJumpBackwardTrigger='<s-tab>'
" Deoplete preferences
let g:deoplete#enable_at_startup = 1
highlight Pmenu ctermbg=Grey