일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- Visual Studio
- gfortran
- tab space
- intel compiler
- vi
- portforwarding
- HDF5
- virtual
- polyglot
- LaTeX
- Windows
- cygwin
- HFS+
- python
- arXiver
- jupyter
- c++
- openmp
- hyperref
- GSL
- h5py
- datascience
- Matplotlib
- Anaconda
- mpi4py
- cython
- vim
- conda
- SSH
- MAC
- Today
- Total
목록vi (4)
Astro Coke
source: https://vim.fandom.com/wiki/Keep_folds_closed_while_inserting_text Setting 'foldmethod' to syntax causes two annoying problems: a general slow-down of Vim when inserting/completing text, and folds which go "SPROING!" every time you insert text which creates a new fold. The first problem is caused by Vim's syntax folding being so slow compared to other methods; see :help todo.txt and sear..
in .vimrc, you can add the commands for the case-sensitivity :set ignorecase :set smartcase Then, you can search words with some case sensitivity rules below: /copyright -> Case insensitive /Copyright -> Case sensitive /copyright\C -> Case sensitive /Copyright\c -> Case insensitive \c or \C at the end of the word is the explicity commands for the sensitivity. :help /\c :help /\C :help 'smartcase'
source: https://kb.iu.edu/d/acux There are two methods for converting the file type between dos and unix. 1) vim, use :set ff=unix to convert to Unix; use :set ff=dos to convert to Windows. 2) show ^M and remove it: :e ++ff=unix It force-set the fileformat as unix without actually changing the contents. So vim reads it like a Unix file, sees the CR characters as extra and displays them as ^M. In..
source: https://tedlogan.com/techblog3.html tabstop Set tabstop to tell vim how many columns a tab counts for. Linux kernel code expects each tab to be eight columns wide. Visual Studio expects each tab to be four columns wide. This is the only command here that will affect how existing text displays. expandtab When expandtab is set, hitting Tab in insert mode will produce the appropriate number..