diff --git a/.tmux.conf b/.tmux.conf index f0492ce..ed1d37b 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,3 +1,8 @@ +###################### +### PLUGINS ### +###################### +#set -g @plugin 'tmux-plugins/tmux-yank' + # set new panes to open in current directory bind c new-window -c "#{pane_current_path}" @@ -53,3 +58,10 @@ setw -g window-status-bell-style 'fg=colour207 bg=colour1 bold' # messages set -g message-style 'fg=colour207 bg=colour0 bold' + +setw -g mode-keys vi +bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i' +bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' diff --git a/.vimrc b/.vimrc index 52199fa..b850c7c 100644 --- a/.vimrc +++ b/.vimrc @@ -14,6 +14,8 @@ Plugin 'scheakur/vim-scheakur' Plugin 'preservim/nerdtree' Plugin 'preservim/tagbar' Plugin 'airblade/vim-gitgutter' +Plugin 'dpelle/vim-Grammalecte' +Plugin 'loremipsum' call vundle#end() filetype plugin indent on @@ -39,6 +41,10 @@ set magic " Enable syntax highlighting syntax on +" Set locale for spellcheck +setlocal spell spelllang=fr +set nospell + set background=dark " dark or light colorscheme scheakur " Your favorite color scheme's name @@ -107,3 +113,9 @@ set mouse=a " Enable mouse drag on window splits set updatetime=100 set signcolumn=auto + +"""""""""""""""""""""""""""""""""""""" +" Grammalect +"""""""""""""""""""""""""""""""""""""" + +let g:grammalecte_cli_py='~/Grammalecte-fr/grammalecte-cli.py'