Skip to content

stepank/vim-for-human-beings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

vim-for-human-beings

vim-for-human-beings was created after many futil attempts to find a text editor that would meet these requirements:

  • cross platform (Linux & Windows),
  • console based (suitable to use on servers),
  • powerful, but easy to use.

It turned out that such an editor just did not exist (I can't stand vim as it is, cream is not intented to be used in console). So I had to create something that would suit me out of the available materials, i. e. a slightly modified vim. The result is not ideal, it has some bugs and limitations. However, as I do not generally use it for coding, I can tolerate these issues and use some known workarouns.

What it can

Of course, there is some usual stuff that I expect from a decent editor:

  • syntax highlighting,
  • line numbers,
  • matching bracket highlightting,
  • autoindentation,
  • no backups (don't need them),
  • visible tab symbol,
  • incremental search,
  • does other less important things.

However, the major difference from vim is how you work with the editor:

  • insert mode is default,
  • selection with Shift + arrows (not without some limitations though),
  • simple shortcuts.

Shortcuts

General control:

  • Ctrl + P - vim command line, for vim commands (colon is already there).
  • Ctrl + T - terminal command line, for shell commands. Bash-like tab completion is at your disposal.
  • Ctrl + B - gets you to console (exit console to get back to vim).

Working with files:

  • Ctrl + N - open a file in a new tab. Bash-like tab completion is available here as well.
  • Ctrl + W - closes the current tab (won't let you do that if the file has unsaved changes, either save them or Ctrl + P, q!, Enter)
  • Ctrl + S - save the current file.
  • Alt + Left - previous tab.
  • Alt + Right - next tab.

Find & replace:

  • Ctrl + F - increamental search. Hit to preserve highlighting.
  • Ctrl + H - hide the highlighting.
  • F3 - search forward.
  • Shift + F3 - search backward.
  • Ctrl + R - replace ALL occurences. First, enter the text you want to replace, then /, then the replacement string and hit Enter.

Other edit functions:

  • Ctrl + C - copy.
  • Ctrl + X - cut.
  • Ctrl + V - paste.
  • Ctrl + Z - undo.
  • Ctrl + Y - redo.

Limitations (or bugs)

Ctrl + Home, Ctrl + End, Shift + Home, and Shift + End do not work in Gnome Terminal (which I use) out of the box. It seems to be impossible to fix this from vim side. It's Gnome Terminal (not GT itself, but VTE which GT is based on) that requires fixing. More about this in my blog post.

Contacting me

Feel free to contact me concerning this project via email stepankk@gmail.com. Bug fixes are welcome.

About

vim that does not hurt you

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors