1
0
Fork 0

tmux config cleanup, new prefix and some moar vim tweaks

This commit is contained in:
Von Random 2017-11-01 19:11:22 +03:00
parent 81b423e8fb
commit be67e054f7
4 changed files with 5 additions and 25 deletions

4
gvimrc
View file

@ -1,8 +1,8 @@
" Iosevka Term ss10 " Iosevka Term ss10
if has('win32') if has('win32')
set guifont=Fantasque_Sams_Mono:h12 set guifont=Fantasque_Sans_Mono:h11
else else
set guifont=Fantasque\ Sans\ Mono\ 12 set guifont=Fantasque\ Sans\ Mono\ 11
endif endif
let g:lightline = { 'colorscheme': 'solarized', } let g:lightline = { 'colorscheme': 'solarized', }
set guiheadroom=0 guioptions=aei mouse=a set guiheadroom=0 guioptions=aei mouse=a

View file

@ -1,7 +1,7 @@
unbind C-b unbind C-b
set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY"
set -g prefix C-Space set -g prefix C-g
bind C-Space send-prefix bind C-g send-prefix
bind s split-window -v bind s split-window -v
bind v split-window -h bind v split-window -h
bind h select-pane -L bind h select-pane -L
@ -13,18 +13,6 @@ bind > resize-pane -R 5
bind - resize-pane -D 5 bind - resize-pane -D 5
bind + resize-pane -U 5 bind + resize-pane -U 5
bind e choose-session bind e choose-session
bind m set-option -g mode-mouse on\; set-option -g mouse-select-pane on\; set-option -g mouse-select-window on\; set-option -g mouse-resize-pane on\; display-message "mouse mode ON"
bind M set-option -g mode-mouse off\; set-option -g mouse-select-pane off\; set-option -g mouse-select-window off\; set-option -g mouse-resize-pane off\; display-message "mouse mode OFF"
bind M-0 join-pane -t 0
bind M-1 join-pane -t 1
bind M-2 join-pane -t 2
bind M-3 join-pane -t 3
bind M-4 join-pane -t 4
bind M-5 join-pane -t 5
bind M-6 join-pane -t 6
bind M-7 join-pane -t 7
bind M-8 join-pane -t 8
bind M-9 join-pane -t 9
bind -n M-w next-window bind -n M-w next-window
bind -n M-q previous-window bind -n M-q previous-window
bind -n M-j next-window bind -n M-j next-window
@ -36,7 +24,6 @@ set -g set-titles "on"
set -g set-titles-string "#h" set -g set-titles-string "#h"
set -g escape-time "0" set -g escape-time "0"
set -g history-limit "10000" set -g history-limit "10000"
set -g set-titles "off"
set -g status-left-length "20" set -g status-left-length "20"
set -g status-right-length "40" set -g status-right-length "40"
set -g default-terminal "tmux" set -g default-terminal "tmux"

View file

@ -48,10 +48,3 @@ let g:signify_sign_change='~'
" easy-align options " easy-align options
xmap <Leader>a <Plug>(EasyAlign) xmap <Leader>a <Plug>(EasyAlign)
nmap <Leader>a <Plug>(EasyAlign) nmap <Leader>a <Plug>(EasyAlign)
" neomake
nmap <Leader>i :Neomake<CR>
let g:neomake_open_list = 7
let g:neomake_error_sign = { 'text': 'e>', 'texthl': 'ErrorMsg' }
let g:neomake_warning_sign = { 'text': 'w>', 'texthl': 'WarningMsg' }
let g:neomake_info_sign = { 'text': 'i>', 'texthl': 'InfoMsg' }

2
vimrc
View file

@ -1,5 +1,5 @@
" various settings " various settings
set nobackup number nomodeline cursorline backspace=indent,eol,start set nobackup number nomodeline backspace=indent,eol,start
set foldmethod=marker ttymouse=xterm2 mouse= set foldmethod=marker ttymouse=xterm2 mouse=
" hidden characters " hidden characters
set list listchars=tab:\|_,nbsp:x,trail:* set list listchars=tab:\|_,nbsp:x,trail:*