Reputation: 6186
I am switching from vim to emacs. I have been using vim for two years, so when i editing with emacs i always thinking about the way i used with vim.
Vim got quite a few keybinding to scroll buffer, one line, half screen, page up and so on. But emacs can only scroll a page with CTRL-V. Yes, i can define a custom keybinding to scroll one line by myself easily, but what i thinking now is whether i should do this. If it is a really necessary fundamental keybinding, then emacs must got by default.
Don't you feel getting lost where the line is when you enter CTRL-V
Upvotes: 2
Views: 769
Reputation: 30701
You can also scroll using a mouse wheel. Depending on your settings for that, it can easily scroll one line at a time. Just another possibility to mention.
Upvotes: 0
Reputation: 5280
If you feel lost, try setting scroll-preserve-screen-position
to 1
:
(setq scroll-preserve-screen-position 1)
You can either add that line to your init file to make it permanent or press M-: and enter it at the prompt to try it out in the current session.
Also, if you find yourself missing vim a lot in general, you can always use e.g. evil-mode. Remember, though, that emacs is not vi, and if you really want to switch and use it as your main editor you will only benefit if you stop thinking too much about what you are used to doing in vim.
Upvotes: 3