qq modifs
This commit is contained in:
77
.vimrc
77
.vimrc
@@ -4,29 +4,61 @@
|
||||
|
||||
|
||||
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
|
||||
" "
|
||||
" ADDS BY HUGOGOGO "
|
||||
" "
|
||||
" "
|
||||
" ADDS BY HUGOGOGO "
|
||||
" "
|
||||
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
|
||||
|
||||
"---------------------------------------------------------------
|
||||
" settings de base
|
||||
"---------------------------------------------------------------
|
||||
"set showcmd "Show (partial) command in status line.
|
||||
set showmatch "Show matching brackets.
|
||||
set ignorecase "Do case insensitive matching
|
||||
set smartcase "Do smart case matching
|
||||
"set incsearch "Incremental search
|
||||
"set autowrite "Automatically save before commands like :next and :make
|
||||
"set hidden "Hide buffers when they are abandoned
|
||||
"set mouse=a "Enable mouse usage (all modes)
|
||||
syntax on "turns on syntax hilighting
|
||||
colo torte "utilise la coloration 'torte'
|
||||
set tabstop=4 "regle une tabulation egale a quatre espaces
|
||||
set autoindent "indent chaque nouvelle ligne comme la precedente
|
||||
set number "ajoute les numeros de ligne
|
||||
"set list "whitespace characters are made visible
|
||||
set wrap "le texte passe a la ligne automatiquement
|
||||
"" Show (partial) command in status line.
|
||||
"set showcmd
|
||||
|
||||
"" Show matching brackets.
|
||||
set showmatch
|
||||
|
||||
"" Do case insensitive matching
|
||||
set ignorecase
|
||||
|
||||
"" Do smart case matching
|
||||
set smartcase
|
||||
|
||||
"" Incremental search
|
||||
"set incsearch
|
||||
|
||||
"" 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
|
||||
" swap file un nom avec son chemin d'acces pour eviter que deux
|
||||
" 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 "
|
||||
" "
|
||||
" " " " " " " " " " " " " " " " " " " " " " " " " " " " " " " "
|
||||
|
||||
|
||||
|
||||
@@ -14,6 +14,8 @@ MYSCREEN="$HOME/config/.screenrc"
|
||||
|
||||
VIM="$HOME/.vimrc"
|
||||
MYVIM="$HOME/config/.vimrc"
|
||||
# create the ~/.vim/swapfiles folder if necessary :
|
||||
mkdir -p ~/.vim/swapfiles
|
||||
|
||||
ZSH="$HOME/.zshrc"
|
||||
MYZSH="$HOME/config/.zshrc"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
**ctrl-a tab** switch from one splited window to another
|
||||
**ctrl-a n** or **p** move to the next or previous windows
|
||||
**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 backspace** previous terminal
|
||||
**ctrl-a ctrl a** flip flop between to terminal
|
||||
|
||||
4
vim.txt
4
vim.txt
@@ -14,6 +14,10 @@
|
||||
**:wq** ou **ZZ** enregister et quitter
|
||||
**:q!** force a quitter
|
||||
**:** 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
|
||||
**:set paste** copier sans les effets des tabulations
|
||||
**: up** affiche les dernieres commandes
|
||||
|
||||
Reference in New Issue
Block a user