mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-29 14:19:35 -05:00
Removed the junk about vimcat; the default config works better
This commit is contained in:
parent
b06a94ef02
commit
a0d5fd5ca0
1 changed files with 1 additions and 12 deletions
13
README.md
13
README.md
|
@ -52,20 +52,9 @@ Once darkcloud-vimconfig has been set up, you can configure `vimpager` to use it
|
||||||
|
|
||||||
`ln -s /etc/darkcloud-vimconfig/vimpagerrc ~/.vimpagerrc` (for a given user).
|
`ln -s /etc/darkcloud-vimconfig/vimpagerrc ~/.vimpagerrc` (for a given user).
|
||||||
|
|
||||||
Similarly, the _vimpagerrc_ can be used for `vimcat` as well by running:
|
|
||||||
|
|
||||||
`ln -s /etc/darkcloud-vimconfig/vimpagerrc /etc/vimcatrc` (for a system-wide configuration), or:
|
|
||||||
|
|
||||||
`ln -s /etc/darkcloud-vimconfig/vimpagerrc ~/.vimcatrc` (for a given user).
|
|
||||||
|
|
||||||
As usual, to have your system use `vimpager` in place of `less`, you'll need to set the **$PAGER** environment variable to `vimpager`:
|
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 aliases for less and cat in _"/etc/bash.bashrc"_ or _"~/.bashrc"_:
|
`export PAGER=vimpager`, and configure aliases for less in _"/etc/bash.bashrc"_ or _"~/.bashrc"_: `alias less='vimpager'`
|
||||||
|
|
||||||
```
|
|
||||||
alias less='vimpager'
|
|
||||||
alias cat='vimcat'
|
|
||||||
```
|
|
||||||
|
|
||||||
## Configuration ##
|
## Configuration ##
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue