tmux theme and nvim fixes and ide command
This commit is contained in:
parent
056e97ce2b
commit
bf8cc60ed0
@ -9,8 +9,6 @@ vnoremap / /\v
|
|||||||
nnoremap <leader>/ :Rg<space>
|
nnoremap <leader>/ :Rg<space>
|
||||||
vnoremap <leader>/ :Rg<space>
|
vnoremap <leader>/ :Rg<space>
|
||||||
nnoremap <leader>` :noh<cr>
|
nnoremap <leader>` :noh<cr>
|
||||||
nnoremap <tab> %
|
|
||||||
vnoremap <tab> %
|
|
||||||
|
|
||||||
" No Cheating
|
" No Cheating
|
||||||
nnoremap <up> <nop>
|
nnoremap <up> <nop>
|
||||||
@ -100,7 +98,7 @@ augroup END
|
|||||||
nnoremap <leader>pv :Vex<CR>
|
nnoremap <leader>pv :Vex<CR>
|
||||||
|
|
||||||
let g:airline_powerline_fonts = 1
|
let g:airline_powerline_fonts = 1
|
||||||
let g:airline#extensions#tabline#enabled = 1
|
let g:airline#extensions#tGabline#enabled = 1
|
||||||
|
|
||||||
" Completion
|
" Completion
|
||||||
set completeopt=menuone,noinsert,noselect
|
set completeopt=menuone,noinsert,noselect
|
||||||
@ -114,4 +112,8 @@ nnoremap <leader>gc :GCheckout<CR>
|
|||||||
|
|
||||||
" Copy to system clipboard
|
" Copy to system clipboard
|
||||||
vnoremap <leader>y "*y
|
vnoremap <leader>y "*y
|
||||||
nnoremap <leader>y "*y
|
nnoremap <leader>y "*<y
|
||||||
|
|
||||||
|
" Move buffers
|
||||||
|
nmap sp :bprev<Return>
|
||||||
|
nmap sn :bnext<Return>
|
||||||
|
4
.local/bin/ide
Executable file
4
.local/bin/ide
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#/bin/sh
|
||||||
|
tmux split-window -v -p 30
|
||||||
|
tmux split-window -h -p 66
|
||||||
|
tmux split-window -h -p 50
|
62
.tmux.conf
62
.tmux.conf
@ -7,8 +7,68 @@ set -g base-index 1
|
|||||||
|
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
|
# vim-like pane switching
|
||||||
|
bind -r k select-pane -U
|
||||||
|
bind -r j select-pane -D
|
||||||
|
bind -r h select-pane -L
|
||||||
|
bind -r l select-pane -R
|
||||||
|
|
||||||
|
# move window
|
||||||
|
bind-key -n C-S-Left swap-window -t -1
|
||||||
|
bind-key -n C-S-Right swap-window -t +1
|
||||||
|
|
||||||
# forget the find window. That is for chumps
|
# forget the find window. That is for chumps
|
||||||
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
bind-key -r f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
|
||||||
|
|
||||||
bind-key -r i run-shell "tmux neww tmux-cht.sh"
|
bind-key -r i run-shell "tmux neww tmux-cht.sh"
|
||||||
|
|
||||||
|
|
||||||
|
## COLORSCHEME: gruvbox dark (medium)
|
||||||
|
set-option -g status "on"
|
||||||
|
|
||||||
|
# default statusbar color
|
||||||
|
set-option -g status-style bg=colour237,fg=colour223 # bg=bg1, fg=fg1
|
||||||
|
|
||||||
|
# default window title colors
|
||||||
|
set-window-option -g window-status-style bg=colour214,fg=colour237 # bg=yellow, fg=bg1
|
||||||
|
|
||||||
|
# default window with an activity alert
|
||||||
|
set-window-option -g window-status-activity-style bg=colour237,fg=colour248 # bg=bg1, fg=fg3
|
||||||
|
|
||||||
|
# active window title colors
|
||||||
|
set-window-option -g window-status-current-style bg=red,fg=colour237 # fg=bg1
|
||||||
|
|
||||||
|
# pane border
|
||||||
|
set-option -g pane-active-border-style fg=colour250 #fg2
|
||||||
|
set-option -g pane-border-style fg=colour237 #bg1
|
||||||
|
|
||||||
|
# message infos
|
||||||
|
set-option -g message-style bg=colour239,fg=colour223 # bg=bg2, fg=fg1
|
||||||
|
|
||||||
|
# writing commands inactive
|
||||||
|
set-option -g message-command-style bg=colour239,fg=colour223 # bg=fg3, fg=bg1
|
||||||
|
|
||||||
|
# pane number display
|
||||||
|
set-option -g display-panes-active-colour colour250 #fg2
|
||||||
|
set-option -g display-panes-colour colour237 #bg1
|
||||||
|
|
||||||
|
# clock
|
||||||
|
set-window-option -g clock-mode-colour colour109 #blue
|
||||||
|
|
||||||
|
# bell
|
||||||
|
set-window-option -g window-status-bell-style bg=colour167,fg=colour235 # bg=red, fg=bg
|
||||||
|
|
||||||
|
## Theme settings mixed with colors (unfortunately, but there is no cleaner way)
|
||||||
|
set-option -g status-justify "left"
|
||||||
|
set-option -g status-left-style none
|
||||||
|
set-option -g status-left-length "80"
|
||||||
|
set-option -g status-right-style none
|
||||||
|
set-option -g status-right-length "80"
|
||||||
|
set-window-option -g window-status-separator ""
|
||||||
|
|
||||||
|
set-option -g status-left "#[bg=colour241,fg=colour248] #S #[bg=colour237,fg=colour241,nobold,noitalics,nounderscore]"
|
||||||
|
set-option -g status-right "#[bg=colour237,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237] #h "
|
||||||
|
|
||||||
|
set-window-option -g window-status-current-format "#[bg=colour214,fg=colour237,nobold,noitalics,nounderscore]#[bg=colour214,fg=colour239] #I #[bg=colour214,fg=colour239,bold] #W#{?window_zoomed_flag,*Z,} #[bg=colour237,fg=colour214,nobold,noitalics,nounderscore]"
|
||||||
|
set-window-option -g window-status-format "#[bg=colour239,fg=colour237,noitalics]#[bg=colour239,fg=colour223] #I #[bg=colour239,fg=colour223] #W #[bg=colour237,fg=colour239,noitalics]"
|
||||||
|
|
||||||
|
# vim: set ft=tmux tw=0 nowrap:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user