Hacker Newsnew | comments | show | ask | jobs | submit login

I have this in my vimrc which provides 90% of this:

    noremap <C-h> <C-w>h
    noremap <C-j> <C-w>j
    noremap <C-k> <C-w>k
    noremap <C-l> <C-w>l
You can then jump between splits with Ctrl and the navigation keys.



Same here.

I do not really understand the need to have a 'window manager' inside vim. I'm a long xmonad user and I think tiling window managers are great (wish there would be a worthy native os x implementation), but adding yet another plugin to my vim setup doesn't really seem feasible, especially when one can map its core functions with a couple of lines. Vim provides uncountable ways to manage splits, including resizing, switching etc, and then there is still vim's great tabs feature to be discovered to reduce the on-screen mess splits can produce...

That said, hat-tips to the author for managing to create a plugin for vim using its rather obscure vi/ex language.

-----


I've also done that. Using it with NERDTree, my typical vim session looks like (I select files in NERTree using `i` most of the time):

    +-----------+
    |   |       |
    | F | S1    |
    | i |       |
    | l |-------|
    | e |       |
    | s | S2    |
    |   |       |
    +-----------+

-----


Not sure it provides "90% of this". Your mappings ARE really cool (in fact I've just added them to my .vimrc, thanks).

I think the nicest feature of dwm.vim, though, is the "focus" and automatic layout of windows. Big left pane + lots of small panes on the right seems like a nice way of doing things...

-----




Guidelines | FAQ | Support | API | Lists | Bookmarklet | DMCA | Y Combinator | Apply | Contact

Search: