Merge branch 'master' of gitlab.com:marty-oehme/dotfiles
This commit is contained in:
commit
c9e3b917f2
3 changed files with 14 additions and 5 deletions
|
@ -283,6 +283,8 @@ let g:ale_linters = {
|
|||
" PLUGIN: TMUXLINE
|
||||
let g:airline_powerline_fonts=1
|
||||
let g:airline_theme='raven'
|
||||
|
||||
let g:gruvbox_italic=1
|
||||
colorscheme gruvbox
|
||||
|
||||
" disable automatically refreshing the mux statusbar since it breaks tmux
|
||||
|
|
|
@ -25,7 +25,7 @@ set -g terminal-overrides "xterm*:XT:smcup@:rmcup@"
|
|||
set-window-option -g automatic-rename on
|
||||
set-option -g set-titles on
|
||||
set -g mouse on
|
||||
set -g default-terminal screen-256color
|
||||
set -g default-terminal xterm-256color
|
||||
set -g status-keys vi
|
||||
set -g history-limit 10000
|
||||
|
||||
|
|
|
@ -411,6 +411,7 @@ nmap Q :q<cr>
|
|||
" for now they use space for my leader key - so we can't switch panels with
|
||||
" space, use tab for that
|
||||
nnoremap <space> <nop>
|
||||
nnoremap <space><space> t
|
||||
|
||||
" Start shell in current directory
|
||||
nnoremap s :shell<cr>
|
||||
|
@ -428,11 +429,17 @@ nnoremap o :!nvim <cr>
|
|||
" Open file in the background using its default program
|
||||
nnoremap gb :file &<cr>l
|
||||
|
||||
" Yank current directory path into the clipboard
|
||||
nnoremap yd :!echo %d | xclip %i<cr>
|
||||
" yank current directory path into the clipboard
|
||||
nnoremap yd :!echo -n %d | xclip -selection "clipboard" %i<cr>
|
||||
|
||||
" Yank current file path into the clipboard
|
||||
nnoremap yf :!echo %c:p | xclip %i<cr>
|
||||
" yank current file path into the clipboard
|
||||
nnoremap yf :!echo -n %c:p | xclip -selection "clipboard" %i<cr>
|
||||
|
||||
" yank current filename without path into the clipboard
|
||||
nnoremap yn :!echo -n %c | xclip -selection "clipboard" %i<cr>
|
||||
|
||||
" yank root of current file's name into the clipboard
|
||||
nnoremap yr :!echo -n %c:r | xclip -selection "clipboard" %i<cr>
|
||||
|
||||
" Mappings for faster renaming
|
||||
nnoremap I cw<c-a>
|
||||
|
|
Loading…
Reference in a new issue