2019-10-26 20:05:31 +03:00
|
|
|
" Enable python support
|
|
|
|
let g:python3_host_prog='/usr/bin/python3'
|
|
|
|
let pyxversion=3
|
|
|
|
|
2020-09-18 23:28:06 +03:00
|
|
|
" LaTex fallback flavor
|
|
|
|
let g:tex_flavor = 'latex'
|
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
" Use suda by default
|
|
|
|
let g:suda_smart_edit = 1
|
|
|
|
|
|
|
|
" Remap exit terminal mode to esc
|
2020-01-07 17:47:06 +02:00
|
|
|
au TermOpen * tnoremap <buffer> <Esc> <c-\><c-n>
|
2019-10-26 20:05:31 +03:00
|
|
|
|
|
|
|
" Use system clipboard
|
|
|
|
set clipboard=unnamedplus
|
|
|
|
|
|
|
|
" Remove extra line
|
|
|
|
set cmdheight=1
|
|
|
|
|
2020-01-08 22:08:30 +02:00
|
|
|
" Disable auto commenting
|
|
|
|
set formatoptions-=cro
|
|
|
|
|
2019-10-26 20:05:31 +03:00
|
|
|
" Set pandoc preview program
|
|
|
|
let g:pandoc_preview_pdf_cmd = "zathura"
|
|
|
|
|
2019-11-03 12:18:20 +02:00
|
|
|
" Case insensitive search
|
2019-10-26 20:05:31 +03:00
|
|
|
set ignorecase
|
|
|
|
set smartcase
|
|
|
|
|
|
|
|
" Nerdtree settings
|
|
|
|
let NERDTreeMinimalUI = 1 "remove press ? for help"
|
|
|
|
let NERDTreeAutoDeleteBuffer = 1 " delete buffer when file is deleted
|
|
|
|
let NERDTreeQuitOnOpen = 1 " close nerdtree when opening file
|
|
|
|
let NERDTreeDirArrows = 1
|
2020-01-04 12:11:57 +02:00
|
|
|
|
2020-01-07 20:43:57 +02:00
|
|
|
" Firenvim filetypes
|
2020-01-04 12:11:57 +02:00
|
|
|
au BufEnter github.com_*.txt set filetype=markdown
|
|
|
|
au BufEnter gitlab.com_*.txt set filetype=markdown
|
|
|
|
au BufEnter git.reekynet.com_*.txt set filetype=markdown
|
|
|
|
au BufEnter www.reddit.com_*.txt set filetype=markdown
|
2020-01-07 20:43:57 +02:00
|
|
|
au BufEnter node.reekynet.com_*.txt set filetype=json
|