LoginSignup
1
1

More than 5 years have passed since last update.

Neovim choosing things

Posted at

Hello World..
in this post I will to explait what I did with my neovim, of course everything is only opinion and my perception.

QWERTY vs Devorak-Programmer

First of all, my maps is thinking in the layout Devorak-Programmer
Reason: Vim got into my head I sould moven my fingers the as little as possible.
and the fact was difficult and frustanting learn a new keybord layout then the question is... worth it? Well for me ... yes
Well about the speed no, perhaps you can go quickly or don't but really I don't thing is important I am sure can be fast in any keyborad layout then for me about confort because is easy add shorcuts (map) to neovim using simbols like ;,'-/ and I feel my finger has to move less
the bad thing is the numbers I don't like the position

Vim vs Emacs

I don't know Emacs, but in the beginnig always we have this quesion, then one day instead of search in google "vim vs emacs" and read reviews I prefer start to learn emacs then I could do my own opinion then I cose vim becuse I don't like to use "ctrl" or "alt" I remember that in emacs a lot of shortcuts you need this key including simple thigs like copy, paste, delete the line etc. I don't want to move my hand just my fingers, in fact in my init.vim I have in map the most case that I need to use "ctrl" or "backspace" (splits)

Vim vs Neovim

When I chose neovim because they plane to use lau like one alternative of vimL and also the community is refactoring the code then for me like a newbie I perfer a simple code if one day I become a collaborator.

Gvim vs Neovim

the main advantage of gvim is the color you know a beautiful colorschema but now this isn't problem in terminal because we have "true color" then the terminal can render colors like a gui and also in the terminal we have tmux is cool.

Right now I use Tilix

Tabs vs Buffers

I don't think that this are enemy depend wich is your workflow.
example if I want edit randoms files I use buffers but like a webpage I use tabs because in split I can see the css, js, html

The problem with split can be the space, use this plugin
and create your own map. vzoom

Plug 'KabbAmine/vZoom.vim', {'on': ['(vzoom)', 'VZoomAutoToggle']}

Ctrlp vs Unit

When I test Unit was slow I don't know now his speed but with ctrlp I don't have problems with the speed.
if you like ctrlp use take this nice plugins

Plug 'tacahiroy/ctrlp-ssh'
Plug 'fisadev/vim-ctrlp-cmdpalette'
Plug 'jasoncodes/ctrlp-modified.vim'
Plug 'DavidEGx/ctrlp-smarttabs'
Plug 'tacahiroy/ctrlp-funky'
Plug 'ivalkeen/vim-ctrlp-tjump'
Plug 'roberbnd/ctrlp-mpc.vim'

Ctrlp vs Neovim-fuzzy

Depends your situation
Neovim-fuzzy is very very fast but don't have cache
ctrlp is slow in the first time because load in the cache the files
Then
If we use like SSHFS or working in a project ctrlp is nice.
If a fast general file Neovim-fuzzy is perfect

also ctrlp is very configurable like to show or don't hide files.

Save session

We have 2 main option to save our session
https://github.com/xolox/vim-session
https://github.com/mhinz/vim-startify
I perfer vim-session to save time in startup but both are nice.

Neovim and Ctags

Like you can learn is tedoius manager the tags I recommend this plugin
vim-gutentags

Common Plugins

vim-easymotion: This is my main plugin because generally I don't use "j,k,l,h" I leap from side to side
nerdtree: I don´t think is necessary neerd tree i wrote an article about this, However I installed it because I was bored.
vim-plug: I perfer vim-plug is very fast.

Git conflict using (Neo)vim

Learn vimcasts with Fugitive.vim Tutorial

Genaral Things

I don't have set numbers because airline say the position and I think is better save this space.

Remember the last position when reopen a file.
*in some place of internet exists a plugin for this operation don't use it (I don't remmember the name).

" This will jump to the last known cursor position unless:
"     the position is invalid
"     the position is inside an event handler
if has("autocmd")
  au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
endif

Favorite links

https://twitter.com/oss_viml
http://vimcasts.org/
http://www.vimgolf.com/
http://vimcolors.com/
http://www.bestofvim.com/

Learn VimL:
https://www.ibm.com/developerworks/library/l-vim-script-1/
http://learnvimscriptthehardway.stevelosh.com/

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1