Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VIM #91

Open
magicdawn opened this issue Aug 26, 2016 · 4 comments
Open

VIM #91

magicdawn opened this issue Aug 26, 2016 · 4 comments

Comments

@magicdawn
Copy link
Owner

Links

@magicdawn
Copy link
Owner Author

magicdawn commented Aug 26, 2016

设置

indent

https://github.com/yangyangwithgnu/use_vim_as_ide#4.2

/* vim: set tabstop=4:softtabstop=4:shiftwidth=4:expandtab */
/* vim: se ts=4 sts=4 sw=4 et */

@magicdawn
Copy link
Owner Author

Tricks

取消 // 换行之后自动插入 //

http://superuser.com/questions/271023/vim-can-i-disable-continuation-of-comments-to-the-next-line

:set formatoptions-=cro

@magicdawn
Copy link
Owner Author

@magicdawn
Copy link
Owner Author

neovim

不太直观的表示 https://neovim.io/doc/user/intro.html#notation

notation meaning
<S-Up> Shift-ArrowUp
<CR> 回车 carriage return(回程马车)
<kUp> keypad cursor-up
<Bar> vertical bar |
<S-…>		shift-key			shift <S-
<C-…>		control-key			control ctrl <C-
<M-…>		alt-key or meta-key		META ALT <M-
<A-…>		same as <M-…>			<A-
<D-…>		command-key or "super" key	<D-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant