refactored vimrc
This commit is contained in:
parent
87f98de7ad
commit
b31ecdae3e
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.swp
|
44
vimrc
44
vimrc
@ -1,31 +1,25 @@
|
|||||||
" -- Vundle Config --
|
" -- Settings --------------------------------------------
|
||||||
source ~/.vim/.vimrc-vundle
|
set lbr " automatically wraps text
|
||||||
|
set formatoptions=l " prevents the breaking up of words
|
||||||
|
set breakindent " indent for single-line wrap
|
||||||
|
set breakindentopt=shift:3 " indent amout for single-line wrap
|
||||||
|
|
||||||
" -- Plugin Config --
|
let &t_Co=256 " use 256-color
|
||||||
source ~/.vim/.vimrc-myPlugins
|
|
||||||
|
|
||||||
" -- Smart, Single-line Indentation --
|
set number " show line numbers
|
||||||
set breakindent
|
syntax on " detect syntax
|
||||||
set breakindentopt=shift:3
|
set autoindent " match indentation with next line
|
||||||
" prevents the breaking up of words
|
set smartindent " match indentation with syntax
|
||||||
set formatoptions=l
|
|
||||||
set lbr
|
|
||||||
|
|
||||||
" -- Colorscheme Configuration --
|
set spelllang=en " spell check language is english
|
||||||
let &t_Co=256
|
set spellfile=$RC_DIR/en.utf-8.add " spell file
|
||||||
colorscheme tigrana-256-dark
|
|
||||||
|
|
||||||
" -- General --
|
|
||||||
set number
|
|
||||||
syntax on
|
|
||||||
set autoindent
|
|
||||||
set smartindent
|
|
||||||
set spelllang=en
|
|
||||||
set spellfile=$HOME/en.utf-8.add
|
|
||||||
|
|
||||||
" -- quick run macro recorded to q:
|
" -- Key bindings ----------------------------------------
|
||||||
:nnoremap <Space> @q
|
|
||||||
|
|
||||||
" -- execute current line as shell command
|
" <SPACE> to execute macro on q
|
||||||
:noremap Q !!$SHELL<CR>
|
:nnoremap <Space> @q
|
||||||
:vnoremap Q !$SHELL<CR>
|
|
||||||
|
" Q to replace current line/selection with bash execution
|
||||||
|
:noremap Q !!$SHELL<CR>
|
||||||
|
:vnoremap Q !$SHELL<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user