Fidgeting
This commit is contained in:
parent
2cda86ea37
commit
20a0e408a6
2 changed files with 19 additions and 4 deletions
|
@ -23,8 +23,10 @@ set -g display-time 2000
|
||||||
######
|
######
|
||||||
# Mouse
|
# Mouse
|
||||||
###
|
###
|
||||||
setw -g mode-mouse on
|
#setw -g mode-mouse on
|
||||||
set -g mouse-select-pane on
|
#set -g mouse-select-pane on
|
||||||
|
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
######
|
######
|
||||||
# Colors
|
# Colors
|
||||||
|
@ -111,8 +113,11 @@ bind r source-file ~/.tmux.conf \; display "Config Reloaded!"
|
||||||
# TPM - Tmux Plugin Manager
|
# TPM - Tmux Plugin Manager
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
|
||||||
# Session related
|
# Resurrect sessions
|
||||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
|
|
||||||
|
# Allow for scroll-wheel copy mode
|
||||||
|
set -g @plugin 'nhdaly/tmux-scroll-copy-mode'
|
||||||
|
|
||||||
# Run TPM
|
# Run TPM
|
||||||
run '~/.tmux/plugins/tpm/tpm'
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
12
vim/vimrc
12
vim/vimrc
|
@ -73,12 +73,22 @@ colorscheme desert
|
||||||
" Map Leader key
|
" Map Leader key
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
|
|
||||||
" Making moving up/down work on wrapped lines of text
|
" Make moving up/down work on wrapped lines of text
|
||||||
nnoremap <silent> j gj
|
nnoremap <silent> j gj
|
||||||
nnoremap <silent> k gk
|
nnoremap <silent> k gk
|
||||||
nnoremap <silent> ^ g^
|
nnoremap <silent> ^ g^
|
||||||
nnoremap <silent> $ g$
|
nnoremap <silent> $ g$
|
||||||
|
|
||||||
|
" Shift between tabs with Shift+h/l
|
||||||
|
nnoremap <silent> <S-l> gt
|
||||||
|
nnoremap <silent> <S-h> gT
|
||||||
|
|
||||||
|
" Move between splits with CTRL+h/j/k/l
|
||||||
|
nnoremap <silent> <C-l> <C-w>l
|
||||||
|
nnoremap <silent> <C-k> <C-w>k
|
||||||
|
nnoremap <silent> <C-j> <C-w>j
|
||||||
|
nnoremap <silent> <C-h> <C-w>h
|
||||||
|
|
||||||
" Allow saving of files as sudo when I forgot to start vim using sudo.
|
" Allow saving of files as sudo when I forgot to start vim using sudo.
|
||||||
cmap w!! w !sudo tee > /dev/null %
|
cmap w!! w !sudo tee > /dev/null %
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue