Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wikitopian/hardmode
Vim: Hard Mode (deprecated)
https://github.com/wikitopian/hardmode
Last synced: 2 months ago
JSON representation
Vim: Hard Mode (deprecated)
- Host: GitHub
- URL: https://github.com/wikitopian/hardmode
- Owner: wikitopian
- Created: 2012-12-28T01:44:39.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2016-08-03T06:16:35.000Z (over 8 years ago)
- Last Synced: 2024-08-03T01:39:47.512Z (6 months ago)
- Language: VimL
- Homepage: https://github.com/takac/vim-hardtime
- Size: 176 KB
- Stars: 604
- Watchers: 8
- Forks: 31
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
VIM: Hard Mode
==============Hard Mode is a plugin which disables the arrow keys, the hjkl keys,
the page up/down keys, and a handful of other keys which allow one
to rely on character-wise navigation. The philosophy behind Hard Mode
is that you'll never master Vim's advanced motion and search functionality
if you can fall back on the anti-pattern of fumbling around your code with
the arrow keys.MAPPINGS
--------To enable it:
:call HardMode()
To disable it:
:call EasyMode()
To enable it by default, add this to your vimrc:
autocmd VimEnter,BufNewFile,BufReadPost * silent! call HardMode()
You may also wish to add the following to line to your vimrc:
nnoremap h :call ToggleHardMode()
With that line added, presuming your leader is still the `\` key, you
can toggle Hard Mode by pressing `\h` while in Normal-mode.Installation
------------If you don't have a preferred installation method, I recommend
installing [pathogen.vim](https://github.com/tpope/vim-pathogen), and
then simply copy and paste:cd ~/.vim/bundle
git clone git://github.com/wikitopian/hardmode.gitOnce help tags have been generated, you can view the manual with
`:help hardmode`.Project Authors
---------------[Matt Parrott](https://github.com/wikitopian) and [Xeross](https://github.com/xeross)
License
-------GPLv2