diff --git a/kitty/session_multiple.conf b/kitty/session_multiple.conf index 87692d5..e97c866 100644 --- a/kitty/session_multiple.conf +++ b/kitty/session_multiple.conf @@ -4,21 +4,21 @@ layout tall -#: First tab -cd . -title zsh -launch env TERMINFO=/usr/share/terminfo zsh +#: tab +title gestionnaire de fichiers +launch env TERMINFO=/usr/share/terminfo ranger -#: Second tab -title explore -launch env TERMINFO=/usr/share/terminfo ranger - -#: Third tab +#: tab cd ~ -title zsh +title terminal launch env TERMINFO=/usr/share/terminfo zsh -#: Fourth tab +#: tab +#cd ~ +#title zsh +#launch env TERMINFO=/usr/share/terminfo zsh + +#: tab #title vim #launch vim diff --git a/vim/vim/plug.vim b/vim/vim/plug.vim index 10d2c48..7a9d6c2 100644 --- a/vim/vim/plug.vim +++ b/vim/vim/plug.vim @@ -33,6 +33,8 @@ Plug 'junegunn/limelight.vim' Plug 'itchyny/lightline.vim' Plug 'tpope/vim-fugitive' Plug 'tpope/vim-surround' +Plug 'ryanoasis/vim-devicons' +Plug 'decayofmind/vim-lightline-functions' " required ! filetype plugin indent on diff --git a/vim/vimrc b/vim/vimrc index 1721d53..b57a8b7 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -14,23 +14,26 @@ filetype off " required " UTF-8 set encoding=utf8 -"syntax highlighting +" Syntax highlighting syntax on set synmaxcol=512 filetype off -" stop unnecessary rendering +" Stop unnecessary rendering set lazyredraw -" show line numbers +" Show line numbers set number -" no line wrapping +" No line wrapping set nowrap " Allow saving of files as sudo when I forgot to start vim using sudo. cnoremap w!! w !sudo tee > /dev/null % +" Font config +set guifont=Hack\ 11 + " Start in insert mode for ALL files "au BufRead,BufNewFile * startinsert "startinsert @@ -48,11 +51,11 @@ cnoremap w!! w !sudo tee > /dev/null % " Installing the Plug plugin manager source $HOME/.vim/plug.vim -" start NERDTree if no file is pass as arg +" Start NERDTree if no file is pass as arg autocmd StdinReadPre * let s:std_in=1 autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif -" close vim if the only window left open is a NERDTree +" Close vim if the only window left open is a NERDTree autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif diff --git a/x/Xresources b/x/Xresources index 2b14859..699e4c2 100644 --- a/x/Xresources +++ b/x/Xresources @@ -55,7 +55,7 @@ ssh-askpass.Indicator.maximumCount: 24 ! ------------------------------------------------------------------------------ URxvt.perl-lib: /home/jeff/.urxvt URxvt*termName: rxvt-color -URxvt*font: xft:Hack:pixelsize=15:style=regular +URxvt*font: xft:Hack Regular Nerd Font Complete Mono:pixelsize=11:style=regular !URxvt.letterSpace: -1 URxvt.depth: 32 URxvt.background: rgba:0000/0000/0200/d800 diff --git a/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh b/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh index c4bb3f9..e662ef1 100644 --- a/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh +++ b/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh @@ -23,6 +23,30 @@ function rns { mv "$1" "$nf" } +function conf { + option="${1}" + + case ${option} in + "awe") + vim ~/.config/awesome/rc.lua + ;; + "qut") + vim $HOME/.config/qutebrowser/config.py + ;; + "ran") + vim $HOME/.config/ranger + ;; + "vim") + vim $HOME/.vimrc + ;; + "zsh") + vim $HOME/.zshrc + ;; + *) + echo "$(basename $0): usage: awe(somewm) | qut(ebrowser) | ran(ger) | vim | zsh" + ;; + esac +} #