Update neovim & tmux configuration for autoread

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2018-11-14 19:43:47 +05:30
parent fde3187e81
commit 7169cfbd81
2 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@ Plug 'zchee/deoplete-jedi'
" Autocomplete for Rust
Plug 'sebastianmarkow/deoplete-rust'
Plug 'rust-lang/rust.vim'
" Autoload and read from dish if file changes
Plug 'tmux-plugins/vim-tmux-focus-events'
" Initialize plugin system
call plug#end()
@ -102,6 +104,7 @@ set ignorecase " Make searching case insensitive
set smartcase " ... unless the query has capital letters.
set gdefault " Use 'g' flag by default with :s/foo/bar/.
set magic " Use 'magic' patterns (extended regular expressions).
set autoread " Autoload file if it changes on disk
set completeopt-=preview

View File

@ -33,6 +33,7 @@ set-option -g allow-rename off
# mouse control (clickable windows, panes, resizable panes)
set -g mouse on
set -g focus-events on
# Use Alt-arrow keys without prefix key to switch panes
bind -n M-Left select-pane -L