What is your vim configuration
-
- Member
- Posts: 78
- Joined: Tue Jun 07, 2022 11:23 am
- Libera.chat IRC: Cyao
- Location: France
- Contact:
What is your vim configuration
I am planning to switch from CLion to vim and I'm wondering what vim configs do you have?
Re: What is your vim configuration
Before I wrote my own editor, I had a a long vimrc I had inherited from a colleague many years ago. And now, even with my own editor, I still have an rc file with a bunch of stuff in it...
Re: What is your vim configuration
Mine isn't quite that long:
Code: Select all
filetype plugin on
filetype indent on
filetype detect
syn on
set nu ruler showcmd
set et sta sw=4 ts=8 sts=4 ai si title
set cst
set bs=indent,eol,start
au FileType mail set tw=72 noai nosi
au FileType man set nonu
set cmdheight=2
au BufNewFile,BufRead *.asm set ft=nasm
set ls=2
set statusline=%f%m%r%w%y%q%=%B%20l,%c%V%20P
let g:tex_flavor = "latex"
let c_no_curly_error = 1
let g:is_posix = 1
set bg=dark
Carpe diem!
-
- Member
- Posts: 78
- Joined: Tue Jun 07, 2022 11:23 am
- Libera.chat IRC: Cyao
- Location: France
- Contact:
Re: What is your vim configuration
Oh wow thats realy fancy, hope you dont mind if i use it sooklange wrote:Before I wrote my own editor, I had a a long vimrc I had inherited from a colleague many years ago. And now, even with my own editor, I still have an rc file with a bunch of stuff in it...
Re: What is your vim configuration
I have mine online for easy installing on whatever machine I happen to log on to.
Every good solution is obvious once you've found it.
-
- Posts: 9
- Joined: Wed Aug 05, 2020 3:38 pm
Re: What is your vim configuration
Check attached.
I've used this for managarm development (not that I do a lot of work lol) and it's served me well.
Though, I've been doing Emacs more as of late.
Here's the plugin list:
EDIT: notably, this does clangd over a container boundary inside the managarm build environment, so it's pretty snazzy
I've used this for managarm development (not that I do a lot of work lol) and it's served me well.
Though, I've been doing Emacs more as of late.
Here's the plugin list:
Code: Select all
[i] ~/.config/nvim/bundle$ ls
dhall-vim editorconfig-vim gruvbox VimCompletesMe vim-cpp vim-fugitive vim-ledger vim-lion vim-lsp vim-minisnip vim-restructuredtext
[i] ~/.config/nvim/bundle$
- Attachments
-
- init.vim.txt
- (4.36 KiB) Downloaded 158 times