VIM
parent
8e8c8214ba
commit
08897eb800
|
@ -0,0 +1,7 @@
|
||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhist_cnt =5
|
||||||
|
let g:netrw_dirhist_1='/home/paul/.config/i3'
|
||||||
|
let g:netrw_dirhist_2='/home/paul/.mbsync'
|
||||||
|
let g:netrw_dirhist_3='/home/paul/.offlineimap'
|
||||||
|
let g:netrw_dirhist_4='/home/paul/Downloads/Arvo'
|
||||||
|
let g:netrw_dirhist_5='/home/paul/.offlineimap'
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 08adf11e81baef2f504d766f8c5b7444b2ee5a6f
|
52
vimrc
52
vimrc
|
@ -1,7 +1,53 @@
|
||||||
|
""" Start vim.plug
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
||||||
Plug 'lervag/vimtex'
|
|
||||||
|
|
||||||
|
""" Syntastic
|
||||||
|
" Start syntastic
|
||||||
|
Plug 'vim-syntastic/syntastic'
|
||||||
|
|
||||||
|
" Recommended settings
|
||||||
|
set statusline+=%#warning#
|
||||||
|
set statusline+=${SyntasticStatuslineFlag()}
|
||||||
|
set statusline+=%*
|
||||||
|
|
||||||
|
let g:syntastic_always_populate_loc_list = 1
|
||||||
|
let g:syntastic_auto_loc_list = 1
|
||||||
|
let g:syntastic_check_on_open = 1
|
||||||
|
|
||||||
|
|
||||||
|
""" General Settings
|
||||||
|
" Set tabs to 4 spaces
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
|
||||||
|
" Remember location in file
|
||||||
|
if has("autocmd")
|
||||||
|
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Line numbers
|
||||||
|
set number
|
||||||
|
set relativenumber
|
||||||
|
|
||||||
|
" Syntax highlighting (for netrw)
|
||||||
|
syntax enable
|
||||||
|
filetype plugin on
|
||||||
|
|
||||||
|
" Syntax highlighting on buffer close bugfix
|
||||||
|
set hidden
|
||||||
|
|
||||||
|
" Fuzzy Finding
|
||||||
|
set path+=**
|
||||||
|
set wildmenu
|
||||||
|
|
||||||
|
""" NOTES:
|
||||||
|
" AUTOCOMPLETE:
|
||||||
|
" - ^x^n for JUST this file
|
||||||
|
" - ^x^f for filenames
|
||||||
|
" - ^n for anything specified by the 'complete' option
|
||||||
|
|
||||||
|
|
||||||
|
""" End vim.plug
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
set mouse=a
|
|
||||||
|
|
Loading…
Reference in New Issue