up
This commit is contained in:
parent
14c080e340
commit
76ddf8925d
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
15
vim/vimrc
15
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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user