From 0b3c3a10f11d8c1598d2773189dfbcd187b0344c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 29 Aug 2016 15:02:12 +0200 Subject: [vim] Set python version to 3 for Gundo --- vim/.vim/spell/en.utf-8.add | 6 ++++++ vim/.vim/spell/en.utf-8.add.spl | Bin 0 -> 154 bytes vim/.vimrc | 7 ++++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 vim/.vim/spell/en.utf-8.add create mode 100644 vim/.vim/spell/en.utf-8.add.spl diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add new file mode 100644 index 0000000..87ee2ba --- /dev/null +++ b/vim/.vim/spell/en.utf-8.add @@ -0,0 +1,6 @@ +diagonality +laplacian +Maruyama +multiscale +SPDE +advective diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl new file mode 100644 index 0000000..b52c8a6 Binary files /dev/null and b/vim/.vim/spell/en.utf-8.add.spl differ diff --git a/vim/.vimrc b/vim/.vimrc index e37824e..3dc451b 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -55,6 +55,7 @@ Plug 'troydm/zoomwintab.vim' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'vim-scripts/gmsh.vim' +Plug 'vim-scripts/SpellCheck' if has("nvim") Plug 'Shougo/deoplete.nvim' @@ -64,7 +65,6 @@ if has("nvim") else Plug 'Shougo/neocomplete.vim' Plug 'scrooloose/syntastic' - " Plug 'Valloric/YouCompleteMe', { 'do' : 'python2 install.py --clang-completer' } endif call plug#end() @@ -159,6 +159,9 @@ let g:deoplete#omni_patterns.tex = g:neocomplete#sources#omni#input_patterns.tex " FZF.vim let g:fzf_buffers_jump = 1 +" Gundo +let g:gundo_prefer_python3 = 1 + " NerdTree let g:NERDTreeHijackNetrw = 0 @@ -219,7 +222,6 @@ let g:netrw_bufsettings='relativenumber' let g:tex_conceal= 'adgm' let g:tex_flavor='latex' - "" Vim options set smartindent set expandtab @@ -227,7 +229,6 @@ set tabstop=4 set softtabstop=4 set shiftwidth=4 set showcmd -" set nofoldenable set foldmethod=marker set noswapfile set nowritebackup -- cgit v1.2.3 From 226c196628bb83e0f5406cb51b03be2d7c77a90e Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 31 Aug 2016 17:26:48 +0100 Subject: Update mr config --- mr/.mrconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mr/.mrconfig b/mr/.mrconfig index a007de9..ab0a1eb 100644 --- a/mr/.mrconfig +++ b/mr/.mrconfig @@ -1,19 +1,19 @@ [$HOME/dotfiles] -checkout = git clone 'git@urbainvaes.com:dotfiles.git' 'dotfiles' +checkout = git clone 'gitolite@urbainvaes.com:dotfiles.git' 'dotfiles' update = git pull origin master push = git push origin master [$HOME/gitolite] -checkout = git clone 'git@urbainvaes.com:gitolite-admin.git' 'gitolite' +checkout = git clone 'gitolite@urbainvaes.com:gitolite-admin.git' 'gitolite' update = git pull origin master push = git push origin master [$HOME/personal] -checkout = git clone 'git@urbainvaes.com:private/personal.git' 'personal' +checkout = git clone 'gitolite@urbainvaes.com:private/personal.git' 'personal' update = git pull origin master push = git push origin master [$HOME/.password-store] -checkout = git clone 'git@urbainvaes.com:private/passwords.git' '.password-store' +checkout = git clone 'gitolite@urbainvaes.com:private/passwords.git' '.password-store' update = git pull origin master push = git push origin master -- cgit v1.2.3 From 09a7dcd8ed743b9f7e4dfd184c26454c29fb4774 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 31 Aug 2016 17:27:17 +0100 Subject: [vim] Add localvimrc --- vim/.vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 3dc451b..25a5cbe 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -13,6 +13,7 @@ Plug 'altercation/vim-colors-solarized' Plug 'beloglazov/vim-online-thesaurus' Plug 'christoomey/vim-tmux-navigator' Plug 'critiqjo/lldb.nvim' +Plug 'embear/vim-localvimrc' Plug 'holomorph/vim-freefem' Plug 'honza/vim-snippets' Plug 'jamessan/vim-gnupg' @@ -101,6 +102,7 @@ vnoremap p :LL print =lldb#util#get_selection() " Fugitive nnoremap gs :Gstatus +nnoremap gc :Gcommit nnoremap gr :Gread nnoremap gd :Gdiff @@ -162,6 +164,10 @@ let g:fzf_buffers_jump = 1 " Gundo let g:gundo_prefer_python3 = 1 +" Idealvimrc +let g:localvimrc_sandbox = 0 +let g:localvimrc_whitelist='/home/*' + " NerdTree let g:NERDTreeHijackNetrw = 0 -- cgit v1.2.3 From 85d03dc7297404ad0cac04a0a9c2bbef8e301fbb Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 2 Sep 2016 12:06:35 +0100 Subject: [zsh] Add aliases for GNU Make --- zsh/.zsh/alias | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/zsh/.zsh/alias b/zsh/.zsh/alias index 7d0dc7d..8477d7d 100644 --- a/zsh/.zsh/alias +++ b/zsh/.zsh/alias @@ -5,13 +5,9 @@ alias c='clear' alias ca='printf "\ec"' alias cdd='cd ~/dotfiles' -# Shortcut to files -alias notes='vim ~/dotfiles/.notes' - # Programs alias a='vifm . .' alias ff='FreeFem++' -alias g='git' alias m='cd ~/.mutt/attachments && mutt && cd -' alias e='nvim' alias n='nvim' @@ -19,13 +15,14 @@ alias ns='nvim -S Session.vim' alias v='vim' alias vs="vim -S Session.vim" -# Build +# Git +alias g='git' +alias rd='cd $(git rev-parse --show-toplevel)' + +# GNU Make +alias mi='make install' alias mc='make clean' alias mca='make clean-all' -# Tmux -alias son="tmux set -g status on" -alias soff="tmux set -g status off" - # Unablias ag from ubuntu plugin unalias ag -- cgit v1.2.3 From eb389e6458bb4d1a2f91f4268feabf51879ca455 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 7 Sep 2016 14:44:44 +0100 Subject: [i3] Add mapping for screenshot --- i3/.config/i3/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 8f6952d..6668438 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -160,7 +160,7 @@ bindsym $mod+period workspace next # Programs shortcuts bindsym $mod+b exec --no-startup-id qutebrowser bindsym $mod+i exec $HOME/bin/vimin - +bindsym Print exec xfce4-screenshooter # Pulse Audio controls bindsym XF86AudioRaiseVolume exec amixer -D pulse sset Master 5%+ bindsym XF86AudioLowerVolume exec amixer -D pulse sset Master 5%- -- cgit v1.2.3 From aed8b6e0bca84363a9766c5355afe5ee4617a315 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 7 Sep 2016 14:46:43 +0100 Subject: [zsh] Change directory for z data files --- zsh/.zsh/plugins | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zsh/.zsh/plugins b/zsh/.zsh/plugins index 3506d70..3cbc6fd 100644 --- a/zsh/.zsh/plugins +++ b/zsh/.zsh/plugins @@ -20,7 +20,6 @@ if ! zgen saved; then zgen oh-my-zsh plugins/themes # Appearance - # zgen oh-my-zsh themes/eastwood zgen load mafredri/zsh-async zgen load sindresorhus/pure @@ -49,4 +48,4 @@ fi } # Z -export _Z_EXCLUDE_DIRS=("$HOME/sshfs", "$HOME/nfs") +_Z_DADA=("$HOME/.local/share/z") -- cgit v1.2.3