tmux maintain directory, bash collapse PWD, vi-mode indicator
This commit is contained in:
1 parent
87b3642109
commit
4d6c43b4be
3 files changed
+30
-96
No files matched your search
@@ -11,7 +11,6 @@ set t_vb=
|
||||
|
||||
|
||||
" aesthetics
|
||||
syntax enable " enable syntax processing
|
||||
set scrolloff=4 " always show 5 lines above/below cursor
|
||||
set sidescrolloff=5 " always show 5 chars over
|
||||
set display=lastline " show as much as possible, no @s
|
||||
@@ -47,7 +46,7 @@ set foldmethod=indent " unless told otherwise, fold on indents
|
||||
|
||||
|
||||
" set Vundle runtime path and initialize
|
||||
set rtp+=~/.vim/bundle/vundle
|
||||
set rtp+=~/.vim/bundle/Vundle.vim
|
||||
call vundle#begin()
|
||||
|
||||
" Plugins for Vundle to handle
|
||||
@@ -65,12 +64,15 @@ Plugin 'tmhedberg/SimpylFold'
|
||||
Plugin 'w0rp/ale'
|
||||
Plugin 'vimwiki/vimwiki.git'
|
||||
Plugin 'chrisbra/csv.vim'
|
||||
Plugin 'davidhalter/jedi-vim'
|
||||
"Plugin 'davidhalter/jedi-vim'
|
||||
Plugin 'ejholmes/vim-forcedotcom'
|
||||
|
||||
" end vundle setup
|
||||
call vundle#end()
|
||||
colorscheme distinguished " such colours
|
||||
|
||||
filetype plugin indent on
|
||||
syntax enable " enable syntax processing
|
||||
colorscheme distinguished " such colours
|
||||
|
||||
" autocmd check
|
||||
if has("autocmd")
|
||||
@@ -79,14 +81,22 @@ if has("autocmd")
|
||||
" set filetypes in odd extensions for decent highlighting
|
||||
autocmd BufNewFile,BufRead *.djhtml set filetype=html
|
||||
autocmd BufNewFile,BufRead *.raml set filetype=yaml
|
||||
autocmd BufNewFile,BufRead *.rst set filetype=rust
|
||||
autocmd BufNewFile,BufRead *.cls set filetype=apexcode
|
||||
autocmd BufNewFile,BufRead *.cmp set filetype=html
|
||||
|
||||
" for rainbow parentheses plugin
|
||||
autocmd VimEnter * RainbowParenthesesToggle
|
||||
autocmd Syntax * RainbowParenthesesLoadRound
|
||||
autocmd Syntax * RainbowParenthesesLoadSquare
|
||||
autocmd Syntax * RainbowParenthesesLoadBraces
|
||||
|
||||
let g:python_recommended_style = 0
|
||||
|
||||
" swap between line number modes
|
||||
augroup numbertoggle
|
||||
autocmd!
|
||||
autocmd BufEnter,FocusGained,InsertLeave * set relativenumber
|
||||
autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber
|
||||
augroup END
|
||||
endif
|
||||
|
||||
" [COMMANDS]
|
||||
|
||||
Reference in new issue
Block a user