Pdf Reader With Vim Keybindings For Mac Os X

Active1 year, 3 months ago

A PDF Reader and Note-taker for OS X Brought to you by: amaxwell, hofman, mmcc.

I'm learning Vim and with it came the urge to use 'hjkl' and friends on every other program, including mouse operated programs like browsers.

How can I use these keyboard shortcuts, or something similar?

I'm using Linux.

Ton van den Heuvel
5,8964 gold badges32 silver badges70 bronze badges
Liran OreviLiran Orevi
2,8477 gold badges40 silver badges61 bronze badges

closed as off-topic by Paul Roub, tripleee, Zoe, gre_gor, Stephen KennedyJun 6 '18 at 17:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User.' – tripleee, gre_gor, Stephen Kennedy
If this question can be reworded to fit the rules in the help center, please edit the question.

25 Answers

Off the top of my head...

  • Vimperator for Firefox.
  • Awesome, WMII, Xmonad or ion3 window manager.
  • Evince supports hjkl.
  • vifm filemanager
  • there are vi keybindings for readline, which enables them for many terminal apps
  • xzgv image viewer
sluukkonensluukkonen

Gmail and several of the other Google apps natively support Vi-like motions.

Also, you might want to try Vimperator and, most definitely, Nethack!

Marcel GuzmanMarcel Guzman

Give scrotwm a try. It's a tiling window manager with vim-like bindings by default, written by coders who use vim!

And vimperator for Firefox makes my life much, much easier.

For Bourne-like shells (ksh, bash, ...) try set -o vi to make your command line use vi keys.

dwcdwc
19.4k5 gold badges37 silver badges52 bronze badges

File manager with vi movement key-bindings and much more: ranger.

plesivplesiv
6,4043 gold badges21 silver badges31 bronze badges

Zathura is a nice and small pdf reader and with built-in vim-like commands. It feels like you opened your pdf document in vim. (e.g.: the ':' button brings up the same prompt.)

CrooCroo
8171 gold badge11 silver badges28 bronze badges

Others:

  • ViEmu: plugin for Visual Studio, Word, Outlook, SQL Server
  • KomodoEdit: developer's editor
  • AbiWord: word processor
  • Editra: developer's editor
  • VimPlugin: plug Vim into Eclipse. I couldn't get it working under Windows or Mac OS X.
  • Eclim: another Vim plugin for Eclipse.
  • Viper: Old Vi emulator for Emacs
  • Evil: Recent Vim emulator for Emacs
  • IdeaVim: Vim emulator for the IntelliJ family of editors, RubyMine, PyCharm, etc.
George V. ReillyGeorge V. Reilly
11.8k5 gold badges32 silver badges36 bronze badges

If you use Eclipse, then viPlugin is the best vi-like editor for it.

I always stick the following two lines in my /etc/inputrc (or ~/.inputrc if I don't have root access):

EvanEvan
14.5k8 gold badges36 silver badges48 bronze badges

Viper works, but if you're used to Vim, it is lacking a lot of keybindings that will end up messing you up. Theres also jvi for Netbeans, which I find more complete than the Eclipse plugins. Kate also recently added Vi-emulation mode

I also consider xmonad, to be superior to Awesome, Ion etc.

Pdf Reader With Vim Key Bindings For Mac Os X

FlemishBeeCycleFlemishBeeCycle
Charles RoperCharles Roper
12.1k18 gold badges62 silver badges93 bronze badges
souser12345souser12345
12.8k6 gold badges54 silver badges73 bronze badges
Pdf Reader With Vim Keybindings For Mac Os X

Lightweight (30k zpi) FimFx for Firefox - does less than Vimperator, but for a good reason.

ak.ak.
2,0863 gold badges31 silver badges45 bronze badges

Check out:

  • dwb — a web browser
  • ranger — a terminal-based file manager
  • Zathura — a PDF viewer
  • Vimium — a vim keybindings extension for Chrome(ium)
  • Evil — the (in)famous Emacs plugin that turns Emacs into Vim, if you ever feel the need to do that
  • i3, xmonad, dwm — tiling window managers that are controlled from the keyboard
ZazZaz
27.4k9 gold badges62 silver badges85 bronze badges
PonyEarsPonyEars
1,3142 gold badges18 silver badges29 bronze badges

You can use xmodmap to make win+hjkl to work as arrow keys.
Make a file named Xmodmap. Add the following content:

Load it using xmodmap Xmodmap
Note: Run xev to find out keycode for win key. 133 is just an example.

Chad Ferguson
3,0085 gold badges32 silver badges40 bronze badges
yanivyaniv

Qutebrowser hasn't been mentioned, which is much better than the plugins.

ToothrotToothrot

I used Ion as a window manager on Linux for a while. It uses keybindings similar to Vim to move between windows, if I recall correctly. It won't make your apps support hjkl movement, but the window manager is a place to start.

Dan OlsonDan Olson
19.3k4 gold badges35 silver badges50 bronze badges

Apart from the already mentioned, you could also bind those keys to left... nd so on (with ahk). I've also noticed that several web apps use that movement keys (gmail, greader, ....)

RookRook
41.1k38 gold badges145 silver badges219 bronze badges

Try keynav, for controlling the mouse pointer using your keyboard.

arcanex
Naga KiranNaga Kiran
5,4405 gold badges33 silver badges47 bronze badges

If you use mpd for listening to music, then I strongly recommend PIM

ivotronivotron
8821 gold badge11 silver badges20 bronze badges

Google Reader respects jk keybindings. I'm sure there are more that they support - feel free to edit my answer.

Jeffrey JoseJeffrey Jose
1,2191 gold badge10 silver badges20 bronze badges

Shortcut Manager extension for chrome.

You can use something like this to configure basic vim movement keys:

Other useful snippets:

PonyEarsPonyEars
1,3142 gold badges18 silver badges29 bronze badges

Mutt - mail client - can be configured to move hjkl, i configure some more vim keys. take some time to configure as it's a bit different from other mail clients. Mutt is not Muttator, is a terminal GUI application.

toshitoshi

cVim for chrome is awesome. I am currently using it.https://github.com/1995eaton/chromium-vim

Pdf Reader With Vim Keybindings For Mac Os X Free Download

Luja ShresthaLuja Shrestha
1,2702 gold badges16 silver badges26 bronze badges

(my answer to that question is an AutoHotKey script that will even get you proper search functionality with /, n, and N, but admittedly I haven't verified a port to Linux or Mac yet)

Community

Pdf Reader With Vim Keybindings For Mac Os X Free

Gordon Gustafson

Pdf Reader With Vim Keybindings For Mac Os X 10.4.11

Gordon Gustafson

Pdf Reader With Vim Keybindings For Mac Os X Lion Free Download

26.6k22 gold badges100 silver badges148 bronze badges

Pdf Reader With Vim Keybindings For Mac Os X 10.5.8

Not the answer you're looking for? Browse other questions tagged linuxvimuser-interfacekeyboard-shortcuts or ask your own question.