mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
209719e792
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
39 lines
1002 B
VimL
39 lines
1002 B
VimL
" Enable python support
|
|
let g:python3_host_prog='/usr/bin/python3'
|
|
let pyxversion=3
|
|
|
|
" Use suda by default
|
|
let g:suda_smart_edit = 1
|
|
|
|
" Remap exit terminal mode to esc
|
|
au TermOpen * tnoremap <buffer> <Esc> <c-\><c-n>
|
|
|
|
" Use system clipboard
|
|
set clipboard=unnamedplus
|
|
|
|
" Remove extra line
|
|
set cmdheight=1
|
|
|
|
" Disable auto commenting
|
|
set formatoptions-=cro
|
|
|
|
" Set pandoc preview program
|
|
let g:pandoc_preview_pdf_cmd = "zathura"
|
|
|
|
" Case insensitive search
|
|
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
|
|
|
|
" Firenvim filetypes
|
|
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
|
|
au BufEnter node.reekynet.com_*.txt set filetype=json
|