added input stuff, merged vimrc
This commit is contained in:
parent
8f36bc4c3e
commit
1d1dbc34df
2 changed files with 49 additions and 0 deletions
13
bash/.inputrc
Normal file
13
bash/.inputrc
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
$include /etc/inputrc
|
||||||
|
|
||||||
|
set editing-mode vi # if you're a fan of VI-style editors
|
||||||
|
set visible-stats on
|
||||||
|
set colored-stats on
|
||||||
|
set show-all-if-ambiguous on
|
||||||
|
set completion-ignore-case on
|
||||||
|
set colored-completion-prefix on
|
||||||
|
set completion-prefix-display-length 1
|
||||||
|
set menu-complete-display-prefix on
|
||||||
|
tab: menu-complete
|
||||||
|
"\e\t": menu-complete-backward
|
||||||
|
"\e[Z": menu-complete-backward
|
||||||
36
vim/.vimrc
36
vim/.vimrc
|
|
@ -201,6 +201,42 @@
|
||||||
"\ set shiftwidth=2
|
"\ set shiftwidth=2
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
|
"plugin modification {{{
|
||||||
|
"FZF
|
||||||
|
map <C-p> :FZF<cr>
|
||||||
|
" This is the default extra key bindings
|
||||||
|
let g:fzf_action = {
|
||||||
|
\ 'ctrl-t': 'tab split',
|
||||||
|
\ 'ctrl-x': 'split',
|
||||||
|
\ 'ctrl-v': 'vsplit' }
|
||||||
|
|
||||||
|
" Default fzf layout
|
||||||
|
" - down / up / left / right
|
||||||
|
let g:fzf_layout = { 'down': '~30%' }
|
||||||
|
|
||||||
|
" Customize fzf colors to match your color scheme
|
||||||
|
let g:fzf_colors =
|
||||||
|
\ { 'fg': ['fg', 'Normal'],
|
||||||
|
\ 'bg': ['bg', 'Normal'],
|
||||||
|
\ 'hl': ['fg', 'Comment'],
|
||||||
|
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
|
||||||
|
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
|
||||||
|
\ 'hl+': ['fg', 'Statement'],
|
||||||
|
\ 'info': ['fg', 'PreProc'],
|
||||||
|
\ 'border': ['fg', 'Ignore'],
|
||||||
|
\ 'prompt': ['fg', 'Conditional'],
|
||||||
|
\ 'pointer': ['fg', 'Exception'],
|
||||||
|
\ 'marker': ['fg', 'Keyword'],
|
||||||
|
\ 'spinner': ['fg', 'Label'],
|
||||||
|
\ 'header': ['fg', 'Comment'] }
|
||||||
|
" EasyAlign
|
||||||
|
"" Start interactive EasyAlign in visual mode (e.g. vipga)
|
||||||
|
xmap ga <Plug>(EasyAlign)
|
||||||
|
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
|
||||||
|
nmap ga <Plug>(EasyAlign)
|
||||||
|
|
||||||
|
"}}}
|
||||||
|
"
|
||||||
" git commands {{{
|
" git commands {{{
|
||||||
" TODO: map fugitive commands and GitGutter:PreviewHunk to leader g $command
|
" TODO: map fugitive commands and GitGutter:PreviewHunk to leader g $command
|
||||||
" TODO: check out gv
|
" TODO: check out gv
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue