From 44b97b7ec47d6c11f08f56c93817ec1c9cf846b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20Fussing=20M=C3=B8rk?= Date: Wed, 23 Oct 2019 08:45:38 +0200 Subject: [PATCH] Latest modifications --- bash/.bashrc | 9 ++++----- neovim/.config/nvim/init.vim | 14 +++++++++----- tmux/.tmux.conf | 11 ++++++++++- 3 files changed, 23 insertions(+), 11 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 2821b3f..7b21964 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -166,7 +166,6 @@ alias ssh="TERM=xterm-256color ssh" alias vim="nvim" alias vi="nvim" -alias k9s="/home/jfm/Tools/k9s/k9s" alias kubectx="/home/jfm/Repositories/GitHub/kubectx/kubectx" alias buildtool="/home/jfm/.buildtool/bin/buildtool" @@ -174,11 +173,11 @@ alias buildtool="/home/jfm/.buildtool/bin/buildtool" alias vpnup="nmcli con up id \"YouSee VPN\"" alias vpndown="nmcli con down id \"YouSee VPN\"" -alias k9t="k9s --context onboarding-test/master-int-liquid-tdk-dk:443/m78311" -alias k9p="k9s --context onboarding-prod/liquid-tdk-dk:443/m78311" +alias k9t="k9s --context onboarding-test/master-int-liquid-tdk-dk:443/m78311 --command dp" +alias k9p="k9s --context onboarding-prod/liquid-tdk-dk:443/m78311 --command dp" -alias dtmux="tmux new \; split-window -h -p 40" -alias ptmux="tmux new \; split-window -h -p 40 \; split-window -v -p 25" +alias dtmux="tmux split-window -h -p 40" +alias ptmux="tmux split-window -h -p 40 \; split-window -v -p 25" [ -f ~/.fzf.bash ] && source ~/.fzf.bash diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 458be07..aeed757 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -13,7 +13,7 @@ set number set autoread set hidden set termguicolors -set background=light +set background=dark set rtp^=/usr/share/vim/vimfiles/ set undodir=~/.local/share/nvim/undodir set undofile @@ -24,6 +24,7 @@ set relativenumber "Plugins call plug#begin('~/.local/share/nvim/plugged') + " Colorschemes Plug 'chriskempson/base16-vim' Plug 'arcticicestudio/nord-vim' @@ -61,6 +62,9 @@ Plug 'alvan/vim-closetag' " Testing Plug 'janko/vim-test' + +" Editing +Plug 'tpope/vim-surround' call plug#end() @@ -76,7 +80,7 @@ let g:airline_theme='nord' let g:airline_symbols.maxlinenr = '' " BufExplorer -nnoremap :BufExplorerVerticalSplit +nnoremap :BufExplorerVerticalSplit nnoremap :bn nnoremap :bp @@ -88,9 +92,9 @@ nmap gr (coc-references) inoremap coc#refresh() " Testing -nmap :TestNearest +nmap :TestNearest nmap t :TestNearest -nmap :TestFile +nmap :TestFile nmap t :TestFile nmap t :TestSuite nmap t :TestLast @@ -133,7 +137,7 @@ map :HFiles :vmap r "_dP :nmap :w :imap :wa -:nmap :bd +:nmap :bd nnoremap nnoremap nnoremap diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 429b1ce..a5db98f 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -1,4 +1,13 @@ set -g default-terminal 'screen-256color' -set-option -sa terminal-overrides ',xterm-termite:RGB' +set-option -sa terminal-overrides ',xterm-termite:RGB:smcup@:rmcup@' set-option -sg escape-time 10 +set-option -g set-titles on +set-option -g set-titles-string "tmux - #W" set -g prefix C-a +set -g mouse on +set -g base-index 1 +setw -g pane-base-index 1 +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R