mxochicale / tools

:octocat: :hammer_and_wrench: My Collection Of Scientific/Engineering Tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim

mxochicale opened this issue · comments

  • create direct link to download .vimrc and make it easy for migration purposes
  • 🔴 [priority] add How to open multiple files in split mode
  • "You can use the option -o to open the files in horizontal splits or -O (letter "O") to open vertical splits"
  • See :help -o for all the details.
  • You can also use -p to open in tabs (FYI...)
  • You can then move between splits using C-w + hjkl.

Reference: https://vi.stackexchange.com/questions/732/how-to-open-multiple-files-in-split-mode

  • 🟡 add :vertical resize N - resize a vertical split, setting width to N characters.

https://vi.stackexchange.com/questions/514/how-do-i-change-the-current-splits-width-and-height

  • 🟡 add retab in .vimrc
set softtabstop=4
set tabstop=4
set shiftwidth=4
set expandtab

Then, use :retab to fix the indentation issue in your code.

https://vi.stackexchange.com/questions/27219/fixing-tab-and-space-inconsistency