New answers tagged cursor
2
For the cursor position, the answer can be found in $VIMRUNTIME/defaults.vim:
" When editing a file, always jump to the last known cursor position.
autocmd BufReadPost *
\ if line("'\"") >= 1 && line("'\"") <= line("$") && &ft !~# 'commit'
\ | exe "normal! g`\""
\ | ...
Top 50 recent answers are included
Related Tags
cursor × 86terminal × 14
cursor-movement × 9
vimrc × 8
neovim × 8
vimscript × 7
insert-mode × 6
cursor-motions × 5
normal-mode × 5
scrolling × 5
gvim × 4
indentation × 3
cut-copy-paste × 3
key-bindings × 2
regular-expression × 2
autocmd × 2
visual-mode × 2
microsoft-windows × 2
vim-windows × 2
colorscheme × 2
highlight × 2
terminal-buffer × 2
tmux × 2
debugging × 2
operator-pending-mode × 2