diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2021-06-10 18:34:59 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2021-06-10 18:34:59 +0200 |
| commit | 84b22f90ac8407f607e96b8603a55b2bff567cda (patch) | |
| tree | 53f209b85c82f823a27b981a3617aeee67395990 /config | |
| parent | b819974163fe9d3b268d3f6b8fe6f56d800b1a73 (diff) | |
| download | dotfiles-84b22f90ac8407f607e96b8603a55b2bff567cda.tar.gz dotfiles-84b22f90ac8407f607e96b8603a55b2bff567cda.tar.bz2 dotfiles-84b22f90ac8407f607e96b8603a55b2bff567cda.zip | |
Added vim plugin to move arguments sideways, Added vim pluggin to split arguments on multiple lines
Diffstat (limited to 'config')
| -rw-r--r-- | config/python/startup.py | 4 | ||||
| -rw-r--r-- | config/vim/pluggins.vim | 2 | ||||
| -rw-r--r-- | config/vim/vimrc | 5 | ||||
| -rw-r--r-- | config/zsh/aliases.zsh | 2 |
4 files changed, 11 insertions, 2 deletions
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 <leader>l :SidewaysRight<CR> +nnoremap <leader>h :SidewaysLeft<CR> + +nnoremap <leader>w :ArgWrap<CR> 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' |
