diff --git a/.gitmodules b/.gitmodules index 1c76900..f2cb19e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -40,9 +40,6 @@ [submodule "vim/bundle/ReplaceWithRegister"] path = vim/bundle/ReplaceWithRegister url = https://github.com/vim-scripts/ReplaceWithRegister.git -[submodule "vim/bundle/SpellCheck"] - path = vim/bundle/SpellCheck - url = https://github.com/vim-scripts/SpellCheck.git [submodule "vim/bundle/tcomment_vim"] path = vim/bundle/tcomment_vim url = https://github.com/tomtom/tcomment_vim.git diff --git a/README.md b/README.md index b2e43e7..1b4fb04 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,12 @@ A theme, config and collection of plugins for Vim. * Place _darkcloud-vimconfig_ in the default location @ _/etc/darkcloud-vimconfig_. * Create your own vimrc and have that set the _g:darkcloudpath_ variable before sourcing the included vimrc. +### Vimpager ### + +Once darkcloud-vimconfig has been set up, you can configure `vimpager` to use it by running: `ln -s /etc/darkcloud-vimconfig/vimpagerrc /etc/vimpagerrc` for a system-wide configuration, or `ln -s /etc/darkcloud-vimconfig/vimpagerrc ~/.vimpagerrc` for a given user (assuming you've used the default path @ _"/etc/darkcloud-vimconfig"_). + +As usual, to have your system use vimpager in place of less, you'll need to set the PAGER environment variable to vimpager: `export PAGER=vimpager` and configure an alias for less: `alias less='vimpager'`. + ## Configuration ## * **Configure Variables**: The following variables can be added to _vim/vimrc.user_ and have their values set to the values you require: diff --git a/vim/bundle/SpellCheck b/vim/bundle/SpellCheck deleted file mode 160000 index 090f346..0000000 --- a/vim/bundle/SpellCheck +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 090f34651339ba86597a0dd994a28369ef36586c diff --git a/vimpagerrc b/vimpagerrc index 3e5ac2f..ed9fa35 100644 --- a/vimpagerrc +++ b/vimpagerrc @@ -40,9 +40,6 @@ "Load Plugins: execute pathogen#infect('bundle.pager/{}') - "Load Keymappings: - runtime config/keyboard.vim - "Load After Config: runtime config/after.vim @@ -50,4 +47,24 @@ set nocursorline nocursorcolumn "disable cursor column/line highlighting set nofoldenable "disable the fold column set noru laststatus=0 noshowmode "remove statusline + + "Keymappings: + map + map + map + map + nnoremap 4zl + xnoremap 4zl + inoremap 4zl + nnoremap 4zh + xnoremap 4zh + inoremap 4zh + nnoremap zl + xnoremap zl + inoremap zl + nnoremap zh + xnoremap zh + inoremap zh + map 0 + map $ "}}}