From 1d1dbc34df42c15eea01a1d9dd03e5448a81a330 Mon Sep 17 00:00:00 2001 From: Ian Keane Date: Thu, 16 Jan 2020 17:29:49 -0500 Subject: [PATCH] added input stuff, merged vimrc --- bash/.inputrc | 13 +++++++++++++ vim/.vimrc | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 bash/.inputrc diff --git a/bash/.inputrc b/bash/.inputrc new file mode 100644 index 0000000..4985284 --- /dev/null +++ b/bash/.inputrc @@ -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 diff --git a/vim/.vimrc b/vim/.vimrc index acf2669..d742d12 100755 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -201,6 +201,42 @@ "\ set shiftwidth=2 "}}} +"plugin modification {{{ + "FZF + map :FZF + " 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 (EasyAlign) + " Start interactive EasyAlign for a motion/text object (e.g. gaip) + nmap ga (EasyAlign) + +"}}} +" " git commands {{{ " TODO: map fugitive commands and GitGutter:PreviewHunk to leader g $command " TODO: check out gv