From 0f0077c33f589c521425da293e7370f70e74e2af Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Thu, 2 Jun 2022 15:50:03 +0200 Subject: [PATCH] Vim video update --- config/.vimrc | 31 +++++++++++++++++++++++++++++-- config/sway | 5 +++++ 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/config/.vimrc b/config/.vimrc index 84c28e0..9854ba7 100644 --- a/config/.vimrc +++ b/config/.vimrc @@ -12,23 +12,50 @@ set smarttab set autoindent set smartindent set incsearch +set nocompatible set number +set showcmd set showmatch set title set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx -syntax on +syntax enable " PLUGINS --------------------------------------------------------------- {{{ call plug#begin('~/.vim/plugged') Plug 'dense-analysis/ale' +Plug 'https://github.com/vifm/vifm.vim.git' call plug#end() " }}} if has("autocmd") - au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif + + au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif +" TALK ------------------------------------------------------------------ {{{ +" https://youtu.be/XA2WjJbmmoM ---------------------------------------------- + +" Finding files using :find +set path+=** +" Also use :b to select files in buffer + +" Show suggestions on another line instead of inplace +set wildmenu + +" Tags +" pacman -S ctags +command! MakeTags !ctags -R . & +" Move to defintion using ^] +" Move to ambigious using g^] +" Move back using ^t + +" Autocomplete +" Also see https://vimhelp.org/options.txt.html#%27complete%27 +" ^n next +" ^p previous +" ^x^f filename completion + diff --git a/config/sway b/config/sway index 473bc72..178494b 100644 --- a/config/sway +++ b/config/sway @@ -23,6 +23,11 @@ output * { bg "~/Pictures/wallpapers/bg.*" fill } +output 'Dell Inc. DELL P2214H 29C2937M4YTL' { + # Vertical monitor + transform 270 +} + # Hide the cursor when typing seat seat0 { hide_cursor when-typing enable