You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not want to install a plugin such as https://github.com/jalvesaq/Nvim-R, which would also depend on the local configure environment and at least installation. So a simple environment is enough.
Since on G40, the window splitting terminal has not been installed, although it natively supports tabs. The basic requirement is window splitting, which can be done via
tried captial mark, i.e, mA and mB in file A, and then mc in file B, then :'A, 'B m 'c, but it reports mark not set
another method, directly delete and then paste
Activity
szcf-weiya commentedon May 13, 2021
历史记录:中文输入法下光标消失
用系统自带的拼音输入法出问题,后来换成了 IBUS-RIME,便解决了。另见 https://blog.hohoweiya.xyz/2021/05/02/back/
szcf-weiya commentedon May 13, 2021
set tab length
by default, TAB seems to have 8 spaces, and to be consistent with the common setting, redefine it with 4 spaces, following the instruction in https://stackoverflow.com/questions/1878974/redefine-tab-as-4-spaces
add the following lines into
~/.vimrcszcf-weiya commentedon Jun 4, 2021
cursor movements
https://vimsheet.com/
szcf-weiya commentedon Jun 5, 2021
insert tab for multiple lines
Vmode, and then press>https://unix.stackexchange.com/questions/16939/indent-several-lines-with-vim
remove tab
V+<https://vim.fandom.com/wiki/Shifting_blocks_visually
szcf-weiya commentedon Jun 5, 2021
edit two files
ctrl+wv:e filenamectrl+ww: switch windows, orctrl+w, ctrl + wcut multiple lines from file A to file B
tried captial mark, i.e,
mAandmBin file A, and thenmcin file B, then:'A, 'B m 'c, but it reportsmark not setanother method, directly delete and then paste
d`ahttps://vim.fandom.com/wiki/Using_markspszcf-weiya commentedon Jul 11, 2021
adjust size of split windows
ctrl+w++: increase heighthttps://vim.fandom.com/wiki/Resize_splits_more_quickly
szcf-weiya commentedon Aug 24, 2021
paste in middle line
https://stackoverflow.com/questions/9383709/how-to-paste-in-the-line-where-the-cursor-is
ctrl+v,$,pszcf-weiya commentedon Dec 22, 2021
delete to end of file
dG: https://unix.stackexchange.com/questions/13904/how-to-select-delete-until-end-of-file-in-vim-gvimszcf-weiya commentedon Oct 18, 2022
d^, inspired fromd$