Glad you're sticking with vim! I used to be a die hard vs code user. Then someone showed me the light on vim and I haven't looked back since. Once you learn how to write your own plugins for vim, the skies the limit and it fits you like a glove. I've pretty much ditched all the different GUI tools that I relied on because I can accomplish everything in vim + terminal. It does take some time to setup, but once you get the hang of it, it is an absolute joy to work with.
@@kqvanity Libs and frameworks have nothing to do with the editor. If you're referring to intellisense/autocomplete/etc, vim (neovim specifically) has LSP integration, treesitter for smart editing, nvim-cmp for autocompletion. So it's all there
I generally find that some enterprise IDEs offer way more than what vanilla LSP server offers. I for example work with JVM languages, and nearly none but IntelliJ can undertake project of a scale. I mean intricate details like Indexing, error formatting, GUI debugging, etc.
I actually use micro text editor for Java development which I really like. For compiling and doing stuff with files I usually write my own bash scripts, so I just have to enter one keyword and everything gets compiled, moved into right directories and at the end the program also gets executed. For debugging I usually use the jdb (Java Debugger) command line tool. For looking up definitions or code examples I always have the Java documentation opened. Also micro has built in search functions to jump around in my code. For me it works really great and I feel like this is the best way to learn everything about the programming language and managing your files etc. instead of just clicking a green arrow without ever questioning what’s happening there. You also will get better in Java because this way you have to memorize Syntax and common used methods etc. Also it’s way faster in everything than IntelliJ for example. I literally can create a new Java project, the directories inside the project folder, a sample Main Class, the scripts for compiling etc and launching the editor with the Main class loaded in less than a second thanks to aliases, bash scripts etc.. I also find the programs run smoother than with IntelliJ. For example when I have some GUI application where I click a button that outputs Text at the CLI, there’s always some delay in IntelliJ while it’s instant in the terminal.
@@SeniorMarsTries I was searching through the comments for the same thing - TITLE and contents nested and folded. What plugin is that, can you please put us to the right direction. Your VDO is awesome, and "HELLO WORLD" laugh was great. :O
also there is plugins that give you org-mode in vim, and there is also more light wight pulgin that give you the org-mode with markdown, if you only use a small subset of org as must org-mode user do. also neovim can do all the unicode chars. that emacs can do, this is false
Neovim can do all what a IDE can, it got buildin LSP and DAP, it got a plugin for each of the things you need, i use nvim for c,c++,php,pyhton,css,html,js,ts,rust,c# and java, and it just works, but that sayed you don't need or use 80% of the features of a IDE, diff. people use diff. features and never it all, so why use that kind of thing. you can setup neovim for java within 10/15 mins and then you got all the things like goto def. find ref. rename symbol, auto import etc. from LSP the point with neovim is that you start with a empty config and all the stuff you need and use so you get a IDE without all the stuff you dont need from the other IDE
You know, I really like the fact that we modernized some vim methods to compete with "modern" text editors, but most of the times I find that using ctags is faster in helping me navigate my code then "go to definition". I feel like there are some vim features that should be highlighted and learned first before people make the move to a totally "modern" setup as you suggest. In either case, these accomplishments are worth celebrating.
Start: 0:00
Warnings: 1:21
Vim part 1: 4:20
In order:
:help 'complete'
:help i_CTRL-X_CTRL-L
:help i_CTRL-X_CTRL-N
:help i_CTRL-N
:help i_CTRL-R
:help quote_=
:help :terminal
:help filter
:help make
:help makeprg
:help quickfix
:help copen
:help vimgrep
:help s_c
:help s_g
:help path
:help gf
:help 'suffixesadd'
Vim part 2: 27:05
Some links are in the description!
GNU make
jdb
ctags
Vim part 3: 32:50
:help filetype-indent-on
:help filetype-plugin-on
:help syntax
:help hidden
:help backspace
:help omnifunc
:help i_CTRL-X_CTRL-O
:help -u
:help nocp
:help map-commands
:help 'laststatus'
:help showcmd
:help autocmd
:help errorformat
:help errorformat-javac
:help augroup
:help runtime
:help runtimepath
:help compiler
:help write-compiler-plugin
:help after-directory
:help ftplugin
:help cwindow
:help expand
:help :map-arguments
:help cd
:help CTRL-W
:help resize
:help grep
:help 'grepformat'
Part 3
Neovim (introduction): 1:11:29
:help vim-differences
:help 'inccomand'
:help packages
Neovim plugins (coc): 1:14:21
coc-java: 1:22:01
snippets: 1:24:52
coc-settings: 1:32:02
vimspector: 1:33:22
Part 4 - my workflow: 1:43:04
:help undofile
:help undodir
mksession: 1:52:18
:help mksession
Part 5 - afterthoughts: 1:53:54
put these in the description, great vid btw ;3
I liked the content, and appreciate the time stamps. Great work! Thank you for your time and effort put into making this video
Absolutely fantastic!!!! Thank you so much.
Awesome! thank you so much. I was looking for a video on this topic
Glad you enjoyed it.
Glad you're sticking with vim! I used to be a die hard vs code user. Then someone showed me the light on vim and I haven't looked back since. Once you learn how to write your own plugins for vim, the skies the limit and it fits you like a glove. I've pretty much ditched all the different GUI tools that I relied on because I can accomplish everything in vim + terminal. It does take some time to setup, but once you get the hang of it, it is an absolute joy to work with.
how about the robust support for languages , different libraries and frameworks that can be feasibly enabled by default with big IDEs like vscode ?
Why did you choose Vim over VSCode?
@@kqvanity Libs and frameworks have nothing to do with the editor. If you're referring to intellisense/autocomplete/etc, vim (neovim specifically) has LSP integration, treesitter for smart editing, nvim-cmp for autocompletion. So it's all there
I generally find that some enterprise IDEs offer way more than what vanilla LSP server offers. I for example work with JVM languages, and nearly none but IntelliJ can undertake project of a scale. I mean intricate details like Indexing, error formatting, GUI debugging, etc.
How do you refactor a type in Java and vim?
Awesome content! Thank you
thanks man!
Great work!
I actually use micro text editor for Java development which I really like.
For compiling and doing stuff with files I usually write my own bash scripts, so I just have to enter one keyword and everything gets compiled, moved into right directories and at the end the program also gets executed.
For debugging I usually use the jdb (Java Debugger) command line tool.
For looking up definitions or code examples I always have the Java documentation opened.
Also micro has built in search functions to jump around in my code.
For me it works really great and I feel like this is the best way to learn everything about the programming language and managing your files etc. instead of just clicking a green arrow without ever questioning what’s happening there.
You also will get better in Java because this way you have to memorize Syntax and common used methods etc.
Also it’s way faster in everything than IntelliJ for example.
I literally can create a new Java project, the directories inside the project folder, a sample Main Class, the scripts for compiling etc and launching the editor with the Main class loaded in less than a second thanks to aliases, bash scripts etc..
I also find the programs run smoother than with IntelliJ. For example when I have some GUI application where I click a button that outputs Text at the CLI, there’s always some delay in IntelliJ while it’s instant in the terminal.
Bro, you're supposed to use a build system to compile Java not a fucking Bash script. You sound like a cringe elitist Linux user.
Fantastic video. Thanks. (Also, change your batteries in your smoke alarm 😉)
Honestly, I agree. I guess I have gotten used to the noise I am no longer able to hear it.
Fantastic video.....!
Just a quick "correction" you can change inside curly parens with capital B like 'ciB' but targets.vim or welle.vim are still pretty great!
Can i generate serialversionUID in java with vim?
Ey bro, this is a very informative walk-through, thank you.
I'm also in love with your window manager.
What's its name?
I use bspwm now, but at the time of the video it was i3-wm-gaps.
Thank you for sharing your great video. I’m Beginner, is is possible using your settings on windows 10?
I do believe this is possilbe! Or just use wsl
THANK YOU SIRE...🙂
3:20 best advise for me, thanks!
Also idk if I missed it but I’d their a way to press one button and compile save and run a file
I guess you would make a custom keybind. However, in case of erros when you compile, I would suggest keeping the keybinds separate.
VSCodeVim and IdeaVim for Intelij. Yes, sir.
What window tiling manager are you using?
I3 for this video.
Awesome.
do you share your dotfiles somewhere? your theme looks great
github.com/KarlWithK/dotfiles
I'm not sure you mention somewhere in the video, but your setup looks very /r/unixporn worthy. Care to elaborate what WM/bar/shell you're using?
I am using i3 (with gaps) and my bar is a custom polybar I made. Finally for my terminal, I am using alacritty.
@@SeniorMarsTries Thanks!
great!
What color scheme is that?
It's just my terminal (alacritty)'s color scheme. Just search up alacritty and then gruvbox color scheme. I modified it a bit.
How are you able to fold lines like that? Is there a plugin you use?
I did not use any plugins that modify folds in this video, but I currently use tree-sitter to apply folds to my code.
@@SeniorMarsTries I was searching through the comments for the same thing - TITLE and contents nested and folded. What plugin is that, can you please put us to the right direction. Your VDO is awesome, and "HELLO WORLD" laugh was great. :O
bro how you place the ---insert-- line in bottom of the vim i tried alot but i cant solution
set showmode
Bar?
Thank you for this excellent guide!
Nice
also there is plugins that give you org-mode in vim, and there is also more light wight pulgin that give you the org-mode with markdown, if you only use a small subset of org as must org-mode user do.
also neovim can do all the unicode chars. that emacs can do, this is false
You sure don't sound like a high schooler lol
Nice video by the way, really good to see your insights in the warning bit.
What OS u using ?
Hi, I'm using Linux.
Can you please do a video on Android development using vim!
We'd very much appreciate it.
I've been struggling for days on it now.
Really late response, but I'll consider it.
@@SeniorMarsTries, thanks bro.
Still patiently waiting.
is that even possible?
@@mrlectus yes it is; it's vim.
Yeah I doubt I could use this, my code base is too big for vim and finding errors and debugging would be a pain in the ass
yea i wouldn't either
Neovim can do all what a IDE can, it got buildin LSP and DAP, it got a plugin for each of the things you need, i use nvim for c,c++,php,pyhton,css,html,js,ts,rust,c# and java, and it just works, but that sayed you don't need or use 80% of the features of a IDE, diff. people use diff. features and never it all, so why use that kind of thing.
you can setup neovim for java within 10/15 mins and then you got all the things like goto def. find ref. rename symbol, auto import etc. from LSP
the point with neovim is that you start with a empty config and all the stuff you need and use so you get a IDE without all the stuff you dont need from the other IDE
You know, I really like the fact that we modernized some vim methods to compete with "modern" text editors, but most of the times I find that using ctags is faster in helping me navigate my code then "go to definition". I feel like there are some vim features that should be highlighted and learned first before people make the move to a totally "modern" setup as you suggest. In either case, these accomplishments are worth celebrating.
@@SeniorMarsTries and if you like ctags use them, the best thing about vim is that it can fit anyone .. and be just want you need
I love Vi in Linux. But in Windows, Vi is not really good to use.
I love a unix environment on windows, so I have installed WSL to make sure I have one. Now I can use vim on windows it's natural.
You means that we should not use vim for java so why I'm here ?
i'm not sure lol?