mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-22 17:05:42 +08:00
review readme
This commit is contained in:
parent
5210d8a1d7
commit
8af6f587d0
@ -365,7 +365,7 @@ Name | Description
|
|||||||
|
|
||||||
Key | Mode | Action
|
Key | Mode | Action
|
||||||
----- |:----:| ------------------
|
----- |:----:| ------------------
|
||||||
`<leader>`+`y` | Normal/visual | Copy selection to X11 clipboard ("+y)
|
`<leader>`+`y` | visual | Copy selection to X11 clipboard ("+y)
|
||||||
`<leader>`+`p` | Normal/visual | Paste selection from X11 clipboard ("+p)
|
`<leader>`+`p` | Normal/visual | Paste selection from X11 clipboard ("+p)
|
||||||
`Ctrl`+`f` | Normal | Smart page forward (C-f/C-d)
|
`Ctrl`+`f` | Normal | Smart page forward (C-f/C-d)
|
||||||
`Ctrl`+`b` | Normal | Smart page backwards (C-b/C-u)
|
`Ctrl`+`b` | Normal | Smart page backwards (C-b/C-u)
|
||||||
@ -389,10 +389,10 @@ Key | Mode | Action
|
|||||||
|
|
||||||
Key | Mode | Action
|
Key | Mode | Action
|
||||||
----- |:----:| ------------------
|
----- |:----:| ------------------
|
||||||
`<leader>`+`cd` | Normal | Switch to the root directory(vim-rooter)
|
`<leader>`+`cd` | Normal | Switch to the directory of the open buffer
|
||||||
`<leader>`+`w` | Normal/visual | Write (:w)
|
`<leader>`+`w` | Normal/visual | Write (:w)
|
||||||
`Ctrl`+`s` | _All_ | Write (:w)
|
`Ctrl`+`s` | Normal/visual/Command | Write (:w)
|
||||||
`W!!` | Command | Write as root
|
`:w!!` | Command | Write as root (%!sudo tee > /dev/null %)
|
||||||
|
|
||||||
##### Editor UI
|
##### Editor UI
|
||||||
|
|
||||||
|
@ -276,8 +276,8 @@ function! SpaceVim#default#SetMappings() abort
|
|||||||
cnoremap <C-b> <Left>
|
cnoremap <C-b> <Left>
|
||||||
cnoremap <C-f> <Right>
|
cnoremap <C-f> <Right>
|
||||||
|
|
||||||
" When pressing <leader>cd switch to the directory of the open buffer
|
"When pressing <leader>cd switch to the directory of the open buffer
|
||||||
" map <Leader>cd :cd %:p:h<CR>:pwd<CR> "I use <Plug>RooterChangeToRootDirectory
|
map <Leader>cd :cd %:p:h<CR>:pwd<CR>
|
||||||
|
|
||||||
" Fast saving
|
" Fast saving
|
||||||
nnoremap <Leader>w :w<CR>
|
nnoremap <Leader>w :w<CR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user