changes in vim manipulation of last oppened buffer
This commit is contained in:
@@ -55,6 +55,9 @@ set number
|
|||||||
" don't allow wrap
|
" don't allow wrap
|
||||||
set nowrap
|
set nowrap
|
||||||
|
|
||||||
|
" make the previous buffer be the last modified file and not the file explorer
|
||||||
|
" see `:help g:netrw_altfile`
|
||||||
|
let g:netrw_altfile = 1
|
||||||
|
|
||||||
|
|
||||||
"---------------------------------------------------------------
|
"---------------------------------------------------------------
|
||||||
|
|||||||
@@ -16,12 +16,15 @@
|
|||||||
**:** mode commande
|
**:** mode commande
|
||||||
**work with multiple files :**
|
**work with multiple files :**
|
||||||
**:e** open a new file in new buffer
|
**:e** open a new file in new buffer
|
||||||
|
**:e C-d** print the list of files in current directory
|
||||||
|
**:e <word>C-d** auto complete <word> with a mathing name of files in current directory
|
||||||
**:b <tab>** roll between opened files
|
**:b <tab>** roll between opened files
|
||||||
**:set hidden** add that to be able to cancel changes
|
**:set hidden** add that to be able to cancel changes
|
||||||
**:ls** list buffer oppened
|
**:ls** list buffer oppened
|
||||||
|
**:x bw** delete buffer number x, even if it's a directory
|
||||||
|
**:bd** delete buffer
|
||||||
**:bp** go to previous buffer
|
**:bp** go to previous buffer
|
||||||
**:bn** go to next buffer
|
**:bn** go to next buffer
|
||||||
**:bd** delete buffer
|
|
||||||
**:b#** switch to last edited buffer
|
**:b#** switch to last edited buffer
|
||||||
**:explore / :ex<tab>** navigate through directory, rename, and plus
|
**:explore / :ex<tab>** navigate through directory, rename, and plus
|
||||||
**search through files :**
|
**search through files :**
|
||||||
|
|||||||
Reference in New Issue
Block a user