From 84b22f90ac8407f607e96b8603a55b2bff567cda Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 10 Jun 2021 18:34:59 +0200 Subject: Added vim plugin to move arguments sideways, Added vim pluggin to split arguments on multiple lines --- config/python/startup.py | 4 ++-- config/vim/pluggins.vim | 2 ++ config/vim/vimrc | 5 +++++ config/zsh/aliases.zsh | 2 ++ 4 files changed, 11 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/python/startup.py b/config/python/startup.py index 900a568..0ac908e 100644 --- a/config/python/startup.py +++ b/config/python/startup.py @@ -60,5 +60,5 @@ def register_readline(): sys.__interactivehook__ = register_readline -sys.ps1 = "> " -sys.ps2 = ". " +# sys.ps1 = "> " +# sys.ps2 = ". " diff --git a/config/vim/pluggins.vim b/config/vim/pluggins.vim index 090b262..561d18c 100644 --- a/config/vim/pluggins.vim +++ b/config/vim/pluggins.vim @@ -13,6 +13,8 @@ call plug#begin($XDG_DATA_HOME . '/vim/plugged') Plug 'junegunn/vim-easy-align' " align Plug 'ludovicchabant/vim-gutentags' " generate tags in project root Plug 'junegunn/goyo.vim' " generate tags in project root + Plug 'AndrewRadev/sideways.vim' " Move arguments sideways + Plug 'FooSoft/vim-argwrap' " Put arguments on multiple lines Plug 'skammer/vim-css-color' diff --git a/config/vim/vimrc b/config/vim/vimrc index 7c7b00d..53a6b62 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -315,3 +315,8 @@ let g:goyo_height = 90 set viminfo+=n$XDG_CACHE_HOME/vim/viminfo let g:python_highlight_all = 1 + +nnoremap l :SidewaysRight +nnoremap h :SidewaysLeft + +nnoremap w :ArgWrap diff --git a/config/zsh/aliases.zsh b/config/zsh/aliases.zsh index da86921..79df09b 100644 --- a/config/zsh/aliases.zsh +++ b/config/zsh/aliases.zsh @@ -150,3 +150,5 @@ rc() { vf() { f="$(fzf || exit 1)" && "$EDITOR" "$f" ; } alias zathura='zathura --fork' + +alias xset-reset='xset r rate 200 50' -- cgit