Attached: vim.jpg (750x1000, 73K)
What are the three most important lines in your .vimrc?
Sebastian Edwards
Other urls found in this thread:
github.com
twitter.com
Colton Morales
anime
is for
degenerates
Juan Phillips
alias vim='emacs -nw'
Ian Wilson
This is should be a big part of your vimrc, and most importantly you shouldn't use plugins.
set tabstop=8
set softtabstop=0
set shiftwidth=2
set expandtab
set smarttab
match Error /\%81v.\+/
Thomas Long
>and most importantly you shouldn't use plugins
Why
Gavin Cooper
because i'm a special faggot
Robert Long
Text editors should be kept minimal. If you want tons of features you should use an IDE (with vim keybindings if you are into it). The only exception is emacs because it's in fact born to be closer to an IDE than to a text editor.
So yeah... use Vim within a terminal, not GVim. Don't use plugins so you can actually get the whole "I use a text editor" less-is-more point of view. If you start to rice the shit out if it there is no point.
Jackson Hernandez
>obey my arbitrary rules based on feelings or else
Zachary Gonzalez
You are free to use an IDE or to build your shitty IDE out of Vim, but if you wanna understand why some people prefer text editors over IDE you shouldn't transform your text editor in a IDE. Vim is already quite feature rich as it is, you should try it. You want auto-completion and a file explorer? They are a built-in already.
Jaxon Phillips
" relative number
set relativenumber
" Automatically deletes all trailing whitespace on save.
autocmd BufWritePre * %s/\s\+$//e
" Navigating with guides
map /"_c4l
Nicholas Torres
Just added this one
inoremap u
Brayden Turner
cabbrev maek make
cabbrev mkae make
cabbrev amke make
Nathan Campbell
>three
go to school
Gavin Perry
Vim
Is
Rubbish
Grayson Sanders
>auto-completion built-in already
wat? no it isn't. It's an extension
github.com
Camden Powell
you're a complete fucking retard
Gavin Foster
imap jk
set number relativenumber
syntax on
Leo Powell
set splitbelow
set splitright
>because default is just plain wrong.
Brandon Edwards
set ai
syntax on
set ic smartcase
Bentley Turner
All those sets can be one line
Also 8 spaces seems like overkill
Asher Barnes
fuck this guy
remap commands to :silent exec through the shell. Have your cake and eat it too, i.e. do what plugins do without anything extra but weaponized autism.
Jayden James
>you shouldn't use plugins
Oh, you're one of those.
Kayden Ramirez
>uganda.txt
daily reminder
Logan Butler
For navigating with the placeholders, I have
inoremap /cf>
[\code]
to jump to them with Ctrl + j while still in insert mode.
Blake Cruz
t. retard
Michael Parker
>building all features into vim instead of using plugins
>vim getting more and more bloated
>huuurrr duuuuur minimal because i am not using plugins
Justin Jenkins
You wanna distinguish tabs from spaces and use spaces pretty much everywhere
Chase Torres
:set number relativenumber list
:set listchars=eol:¬,tab:>·,trail:~,extends:>,precedes:
Oliver Ross
is a cool idea but using comma as m leader key and mostly just typing latex, Logically i should never be typing anything but space after a comma so It won't trigger a jump ever
but yeah is a cool keybinding ill keep it in mind
Ethan Ross
bruh like remap caps lock my dude
one day you'll be typing a string with jk in it and just find yourself in normal mode
Samuel Martin
>features bad
>productivity bloat
Please fuck off. People like to be productive with their editors. There's literally no reason for not using plugins like nerdcommenter or coc-nvim.
Jonathan Roberts
Woops, forgot to add my best 3 lines, you can probably guess by my reply:
packadd! coc.nvim
packadd! nerdcommenter
packadd! fzf.vim
Kayden Clark
for me, it's notepad.exe
Logan Rivera
It's only 8 spaces inline
At the beginning of a line it's only 2 spaces.
Carter Stewart
set rtp+=/usr/local/lib/python2.7/dist-packages/powerline/bindings/vim/
" Always show statusline
set laststatus=2
" Use 256 colours (Use this setting only if your terminal supports 256 colours)
set t_Co=256
Adrian Reyes
!clear && ed %
quit
Michael Lewis
can you use Vim for writing VBA and SQL?
Jason Bennett
donate
to
uganda
Samuel Lee
set shortmess+=I
Wyatt Jackson
/thread
Adam James
set textwidth=80
set colorcolumn=+1,+2
Justin Hill
Does anybody know how to keep the default CursorLine highlight the exact same just with a red underline instead of white? Setting cterm=red worked but it makes all of the actual line text red as well which defeats my original purpose, which is to tell underscores apart from the line.