qq modifs

This commit is contained in:
hugogogo
2020-12-01 14:01:02 +01:00
parent 1734400943
commit 4a716ddc9f
4 changed files with 62 additions and 22 deletions

77
.vimrc
View File

@@ -4,29 +4,61 @@
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
" " " "
" ADDS BY HUGOGOGO " " ADDS BY HUGOGOGO "
" " " "
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
"--------------------------------------------------------------- "---------------------------------------------------------------
" settings de base " settings de base
"--------------------------------------------------------------- "---------------------------------------------------------------
"set showcmd "Show (partial) command in status line. "" Show (partial) command in status line.
set showmatch "Show matching brackets. "set showcmd
set ignorecase "Do case insensitive matching
set smartcase "Do smart case matching "" Show matching brackets.
"set incsearch "Incremental search set showmatch
"set autowrite "Automatically save before commands like :next and :make
"set hidden "Hide buffers when they are abandoned "" Do case insensitive matching
"set mouse=a "Enable mouse usage (all modes) set ignorecase
syntax on "turns on syntax hilighting
colo torte "utilise la coloration 'torte' "" Do smart case matching
set tabstop=4 "regle une tabulation egale a quatre espaces set smartcase
set autoindent "indent chaque nouvelle ligne comme la precedente
set number "ajoute les numeros de ligne "" Incremental search
"set list "whitespace characters are made visible "set incsearch
set wrap "le texte passe a la ligne automatiquement
"" Automatically save before commands like :next and :make
"set autowrite
"" Hide buffers when they are abandoned
"set hidden
"" Enable mouse usage (all modes)
"set mouse=a
"" turns on syntax hilighting
syntax on
"" use coloration 'torte'
"" and specify no coloration in the background
colo elflord
highlight Normal ctermbg=NONE
highlight nonText ctermbg=NONE
""regle une tabulation egale a quatre espaces
set tabstop=4
"" indent chaque nouvelle ligne comme la precedente
set autoindent
"" ajoute les numeros de ligne
set number
"" whitespace characters are made visible
"set list
"" le texte passe a la ligne automatiquement
set wrap
"--------------------------------------------------------------- "---------------------------------------------------------------
@@ -36,7 +68,8 @@ set wrap "le texte passe a la ligne automatiquement
" dossier courrant, le double slash demande a vim de donner au " dossier courrant, le double slash demande a vim de donner au
" swap file un nom avec son chemin d'acces pour eviter que deux " swap file un nom avec son chemin d'acces pour eviter que deux
" fichiers du meme noms posent un probleme " fichiers du meme noms posent un probleme
" set directory=~/.vim/swapfiles//
set directory=~/.vim/swapfiles//
"--------------------------------------------------------------- "---------------------------------------------------------------
@@ -119,9 +152,9 @@ command! End $s/$/\r\r<\/div>\r<\/div>\r<\/body>\r<\/html>
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
" " " "
" END OF HUGOGOGO'S ADDS " " END OF HUGOGOGO'S ADDS "
" " " "
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "

View File

@@ -14,6 +14,8 @@ MYSCREEN="$HOME/config/.screenrc"
VIM="$HOME/.vimrc" VIM="$HOME/.vimrc"
MYVIM="$HOME/config/.vimrc" MYVIM="$HOME/config/.vimrc"
# create the ~/.vim/swapfiles folder if necessary :
mkdir -p ~/.vim/swapfiles
ZSH="$HOME/.zshrc" ZSH="$HOME/.zshrc"
MYZSH="$HOME/config/.zshrc" MYZSH="$HOME/config/.zshrc"

View File

@@ -12,6 +12,7 @@
**ctrl-a tab** switch from one splited window to another **ctrl-a tab** switch from one splited window to another
**ctrl-a n** or **p** move to the next or previous windows **ctrl-a n** or **p** move to the next or previous windows
**ctrl-a c** start new terminal (in the new window) **ctrl-a c** start new terminal (in the new window)
**screen** prompt command "screen" to open a new window in the same directory
**ctrl-a space** next terminal **ctrl-a space** next terminal
**ctrl-a backspace** previous terminal **ctrl-a backspace** previous terminal
**ctrl-a ctrl a** flip flop between to terminal **ctrl-a ctrl a** flip flop between to terminal

View File

@@ -14,6 +14,10 @@
**:wq** ou **ZZ** enregister et quitter **:wq** ou **ZZ** enregister et quitter
**:q!** force a quitter **:q!** force a quitter
**:** mode commande **:** mode commande
**work with multiple files :**
**:e** open a new file
**:b <tab>** roll between opened files
**:set hidden** add that to be able to cancel changes
**:%y+** copie toutes les lignes DANS LE CLIPBOARD **:%y+** copie toutes les lignes DANS LE CLIPBOARD
**:set paste** copier sans les effets des tabulations **:set paste** copier sans les effets des tabulations
**: up** affiche les dernieres commandes **: up** affiche les dernieres commandes