OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 3:56 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: What is your vim configuration
PostPosted: Wed Oct 26, 2022 3:02 pm 
Offline
Member
Member

Joined: Tue Jun 07, 2022 11:23 am
Posts: 78
Location: France
I am planning to switch from CLion to vim and I'm wondering what vim configs do you have?

_________________
https://github.com/cheyao/Achieve-Core


Top
 Profile  
 
 Post subject: Re: What is your vim configuration
PostPosted: Wed Oct 26, 2022 5:45 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
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...

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: What is your vim configuration
PostPosted: Thu Oct 27, 2022 9:30 am 
Offline
Member
Member

Joined: Wed Aug 30, 2017 8:24 am
Posts: 1593
Mine isn't quite that long:
Code:
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!


Top
 Profile  
 
 Post subject: Re: What is your vim configuration
PostPosted: Sat Oct 29, 2022 12:20 am 
Offline
Member
Member

Joined: Tue Jun 07, 2022 11:23 am
Posts: 78
Location: France
klange 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...

Oh wow thats realy fancy, hope you dont mind if i use it soo :lol:

_________________
https://github.com/cheyao/Achieve-Core


Top
 Profile  
 
 Post subject: Re: What is your vim configuration
PostPosted: Mon Oct 31, 2022 5:33 am 
Offline
Member
Member
User avatar

Joined: Thu Nov 16, 2006 12:01 pm
Posts: 7612
Location: Germany
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.


Top
 Profile  
 
 Post subject: Re: What is your vim configuration
PostPosted: Wed Nov 02, 2022 2:27 pm 
Offline

Joined: Wed Aug 05, 2020 3:38 pm
Posts: 9
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:

Code:
[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$


EDIT: notably, this does clangd over a container boundary inside the managarm build environment, so it's pretty snazzy


Attachments:
init.vim.txt [4.36 KiB]
Downloaded 52 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 40 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group