00:00 Intro 02:35 vifm (vi file manager) 04:33 working with vifm 05:40 renaming bunch of files with vifm 11:04 vim mode enable in your shell (zsh) 13:55 vim mode enable in your shell (bash) 15:08 summary 16:18 thanks patrons!
To navigate within a line you can use t (till) and f (find). That way you can avoid pressing h and l multiple times. For example: To move the cursor to the next comma you can use f,
Nice video. You did a little mistake when explaining /g after your substitute command. /g allows to replace more than one occurence on the same line where a match is found. The % at the beginning of the line is what makes the substitute command to apply to the whole document. Lastly, when saving and closing at the same time, you can use the command :x or event ZZ in normal mode. Also, `dw` will delete until next word, `daw` will delte a word (including space before it) and `diw` will delete in the word.
Something you might find useful DT, try ':set number' in vifm. Gives you line numbers like Vim, makes navigating large folders easier. "25G" would open the 25th folder or file no matter where you are in the folder. You can make it permanent in your vifmrc if you like it. Great video. I can certainly relate to your having Vim bindings ingrained in your head. I hate having to reach for the mouse, and trying to remember "Is it Ctrl-k l, or Alt-k w, or..." ;-)
Wow Derek!! What an excellent video!! I sent a link no to my nephew who is a HUGE vim fan. I'm starting to use it. So much fun even though most of the time I use nano and am trying to use vim instead. Your vim videos are great and I hope you will do more 😀
You might want to start using vim as your terminal. Write the line you want to execute directly into a vim file and then put your cursor over it and execute it. For example I have a file called "/home/dt/Dropbox/fresh-mint-install.bsh" and I add to it anything I install on my system. So for instance after watching this video I added the line: :!apt-cache search vifm | grep "^vifm "; time echo your-password | sudo -S apt-get install -y vifm; apt-cache search vifm| grep "^vifm " and in my .vimrc I have a line that looks like : nnoremap :exe getline(".") So all I have to do is press the f2 key and the line under the cursor will be executed as if it were entered in the shell. Since I live in vim, do all my notes in vim, I sometimes have to open other programs from within. So my daily todo notes might have a line like: Update bank spreadsheet :!libreoffice -o $(locate mybiz.ods) & :!firefox www.bbvacompass.com/ & which would open a browser to my bank and a my libreoffice calc spreadsheet by pressing ,gg because my .vimrc file has a line like: :map gg :.,.s/:!.*&//gcn"tyf&@t:.,.s/&.*:!//gcnf:"tyf&@t Just some thoughts...
I first used vi in 1988 when using Unix and VMS mainframes at college. All these years later, I am back to using it and now I want to use vim bindings in everything. Back in the day, I didn't realize how powerful and efficient it is...
NeoVim is truly taking things to the next level. You can basically run vifm inside a neovim subwindow because you can now have terminal inside a window.
Should be mentioned that there is a VI light that comes with most distros and then there is VIM the full pkg you can apt install. The key bindings work ever so differently in VI light vs VIM. I always have to install VIM to get the key bindings to work correctly. I used VIM and preferred it over Nano at the time but after discovering 'micro' I fell in love with its simplicity and how user friendly it was in comparison but still very fast to use. I especially preferred micro's ability to auto-detect different script/programming languages to correctly highlight variables in different colors. Plus it is only one binary file that you install in the /bin folder. I put it on all my Linux boxes.
I agree with your last words. Plugin for browsers Surfingkeys has similar functionality like the vim. You can move on a website or write in a input text (almost) like in vim.
Cool video! I'm a long time Vim user, but just getting started with file managers, potentially vifm. Btw, if you happen to be using NeoVim, you can set inccommand and see the potential results of your substitute commands live. And the modifier "g" is only needed if you wanna do more than one substitution per line.
on Ranger, we can do bulk renaming with press "v" for select all files, then type ":bulkrename", if you set your "export VISUAL="vim" on `~/.profile`, it will open Vim with all list file name. Exactly same like in this video. (^_^)
You can also add 'set editing-mode vi' to your '~/.inputrc' and that will enable vim bindings to any app that use the GNU Readline, not just Bash. If you're an emacs fan, you can do 'set editing-mode emacs'. Just remember to source '~/.inputrc' after making changes.
You had 99.9K subscribers. I decided to subscribe thinking it'd reach 100K, but nothing happened. Then I clicked this video and it was 100K (I guess it needed a refresh). Congratulations, but now give me my 100K-th subscriber reward.
My first experience with vim was.. unpleasant. I felt trapped, was erasing lines, felt like I froze it up, didn't know what the hell to do, and when I finally got out of it I said "fk this thing.." Now use it all the time. People getting into Linux should practice on a document you don't care about and learn vim. It's so worth it. I never used vifm, but will be grabbing it later.
mc has been there for 25 years now, and it's still improved. It's a terminal based filemanager. vifm cannot even stand in it's shadow. MC has it all. image preview, file editing, ftp/sftp, far better interface. Better and directly accessible info. Comparing dirs, and so on and so on. for advanced stuff, you can use bash. And it's all more or less build in. You can even set vi as it's main file editor if you wish. (i use nano within mc though). mc had some probs in terminal multiplexers, but not anymore.
Trying to use something that doesn't have vim bindings is like typing with only two fingers. It's a skill that is just about as powerful for editing text as learning to touch type is.
I think the vi mode is implemented by readline library that is widely used by many terminal interactive tools, like bash. For browser, the Surfingkeys chrome and Firefox extension will make you feel at home, it has a lot of good features, one of the feature that other vim style ext missing is add bookmark. Surfingkeys ext is not very widely known, I guess its name prevents it from easily searched by vim lovers, but it really deserve your time to check it out, believe me
Put the following in your `~/.inputrc` and you'll have `vi mode` in every CLI tool using standard input (e.g. `mysql`): set editing-mode vi set keymap vi-command
You speak from my heart. Vim is extremely great, the next that comes close it maybe emacs, but I use alt to navigate through my i3 windows and do not like that emacs heavily rely on alt commands. Vim is more independent from that shit, also works on non-desktop environments like server terminals.
2:55 Nautilus and Dolphin are for guests; for personal use there is rsync, cp, mv, mkdir, ln, rm, but also mc, ranger, or vifm if one will have to rename batches.
Yes, vim^Wemacs is a best editor of the world! :) To be serious Vim is a great text editor. But, after a thinking about different text editors I decided that Emacs is the best text editor for me. Emacs was written in C and Lisp (ELisp) and one could change almost any behaviour of the text editor at the runtime using ELisp interpreter. And that ELisp power allows me to change the text editor as a like. Using a Vim give me vibes that it is an ad-hoc editor comparing to the Emacs (which is like a software Lisp machine). Now, I am using vim/sed/ed for ad-hoc tasks like list processing, configs, etc and Emacs to edit source codes, To-Do (org mode), TeX and so on both local and remote (Tramp!). But, anyway they are both cool text editors :) Sorry for off-topic.
I always worry about putting vim bindings in bash because then I will become even more reliant on my own systems, making it very hard to work on a vanilla OS on a differently configured computer. I live vim, I definitely will look more into vifm, but i want to make sure i dont forget the bash or other key bindings.
This is true for people that find themselves in vim and have no clue how to exit. I imagine they would feel like going "full Exorcist" and start throwing water at the screen...yelling, "The power of Christ compels you!"
You should *never* limit yourself to only one set of keybindings. As an emacs evil user, I strive to master to both emacs and vim bindings. When I'm on OSX I try to master the macOS bindings too. So I can access any machine with ease and get productive within seconds.
There's a pretty good way I discovered about switching to normal mode while you're in Insert mode without using the Esc key or any other combinations. I'll make a video about it when I got the time. You're going to love Vim more and you're not gonna need to move your hands away from the keyboard or even touch the Esc key.
I found vi mode in bash very annoying because ctr-L stops working (unbound in vi-insert mode).However eventually I found this on some forum: bind -m vi-insert "\C-l":clear-screen With that binding it's perfect.
I've been a devoted Vim user for nearly 20 years. While I do prefer apps that support Vim key bindings, I've never had any difficulty using apps that don't. I wish people would stop repeating that nonsense.
[ Emacs User Alert! ] The biggest problem with Vim keybindings that I could think of is that it really gets deep in your brain, and you'll not be able to effectively edit text on other software or platform without constantly reminding yourself NOT to use 'hjkl' to navigate or press 'i' and 'ESC' to hop in and out of Insert Mode. While with Emacs bindings all the navigating shortcuts are prefixed with Ctrl or Meta (Alt) and can be ported to different platforms once you get used to it!
I don't think that the biggest problem. the biggest problem is emacs has poor keys binding since beginning. that will make your hand moving awkwardly, strained, and your pinky muscle slowly getting injured.
Good video, I know what you mean about how it infiltrates your life. What are you using to get the big arrow shaped blocks denoting Normal mode, etc? Also if you haven't yet, check out the Vimium add on for Chrome and FF, I love it
Good question. And that screenshot was from like 3 months ago. I must have been watching TH-cam on one of my monitors (3 monitors) when I took the screenshot. I didn't think about this before making the video. Some of these screenshots could have included me watching Netflix on that monitor....or other stuff.
You really ought to spend some time in emacs. Emacs can be your window manager, file manager, web browser, mail client, irc client, text editor, and more. :-)
In other words, it can barely do more than Vim with an open terminal buffer. I don't see why I'd sacrifice Vim's controls for the same thing in a different package. And please don't come with "but muh Evil mode", Evil mode can't make Emacs behave in a sane way either.
@TheBlackiwid Vim can do all important stuff I need, and yes, that includes shortcuts depending on filetypes etc. - who needs a bittorrent client with Emacs/Vim controls? It's not like you're writing a novel in there - congrats - picture previews work - vim has a jabber client(and google calendar sync btw) as well - you mean the magit that's also available for Vim? - presentation plugins for Vim exist - the python prompt in a terminal buffer shits on a random calculator - spreadsheet is possible in Vim too, albeit limited Can Emacs do a few things more? Sure. It can't properly emulate Vim's amazing controls though(and yes, I've tried. Evil mode and spacemacs do not solve the real problems with Emacs controls).
SaHaRaSquad both programs are great , there’s no need to fight over 😅😄 it’s sad all stupid wars like wars for such distro over another one etc . Programs are nothing but tools , and what is important is what you can achieve with these tools , the tools are not the final goal , only things making your journey more easier , one might take a road and on other one another road , they have different goals , objectives etc
@TheBlackiwid "Evil mode means vim shortcuts" No. Evil mode means most Vim shortcuts that usually(but not always) behave like Vim, inside an environment that's fundamentally incompatible with Vim shortcuts. Using Emacs with Evil mode is like making fire in a pool...it works if you let it float on a surfboard, but you better don't move too much. You like Emacs, that's fine. I don't because the controls feel like they come from a random generator, but whatever floats your boat.
@TheBlackiwid "would you rather have a pretty good universal mass produced one, or rather have one made for you specially to fit you perfectly" Again proof that you greatly underestimate Vim. Comparing it to a mass produced product is ridiculous. There are literally plugins that let you edit and sync Google calendars in Vim and much more. So many people also constantly praise org-mode while not realising it can be used in Vim as well. "because you are to lazy to test something else" I literally spent a whole week trying Emacs with Evil mode and configuring it for my needs. The control scheme just doesn't work for me.
I'm glad you like vim. I don't I like it. I like to use sublime-text editor and gui file manager. I don't mind using the terminal when I need to. I'm running Manjaro. When I'm in the terminal I'll use nano.
His method of setting vi mode in bash is sub-optimal. Bash uses readline so you are better off just "set editing-mode vi" in your ~/.inputrc then bash and all the other very many readline based programs will use vi mode. Also, ranger consistently gets rated as the best "vi based file manager" compared to vifm.
The beginning sounded like you were describing your experience in a group therapy for Vim addiction hehe.
Hi, my name is DT, and I'm an addict...
@@DistroTube Vim is life :)
00:00 Intro
02:35 vifm (vi file manager)
04:33 working with vifm
05:40 renaming bunch of files with vifm
11:04 vim mode enable in your shell (zsh)
13:55 vim mode enable in your shell (bash)
15:08 summary
16:18 thanks patrons!
thanks
Creators should pay for this service.
“VIM is so good it makes me suck at everything else”
"VIM has really penetrated my life in a pretty big way"
@@gutox253 😯
@@gutox253 AND NOT ONLY MY LIFE
iI think I got that joke^[:wq!
itfw you automatically press 'i' when trying to writting somethinghhhhhhhhhhhhciwwrite
anyway, nice video:wq
lol
a
Personally, I', used to using the ED commands.
.
c
Personally, I'm used to using the ED commands
.
w
q
iyou can also type :x to write and quite :x
LOL Perfect!
ZZ works for quit also
VIM key bindings really get deep into your brain.
IMHO it is the closest we have ever got to brain-computer interface
:good night!
@@harrytsang1501 I'd say the mouse is.
nope. I Can't switch over to hjkl, I gotta use arrows. Even though it gets a bit awkward when switching TMUX panes.
@@TheEjaay why would I? That's simply not comfortable
Vim actually stands for:
Vim
Is not
M'just a text editor, it's a way of life
M'just, what
Recursion detected
Vim Is Mastery
merely
Vim
Is
More than a text editor (Vim really is a way of life)
To navigate within a line you can use t (till) and f (find). That way you can avoid pressing h and l multiple times.
For example:
To move the cursor to the next comma you can use f,
Yep, I could also have done "w" and "b" to move by word, as well.
I've been using vim for the last four years, because I couldn't close it
@Meux Palefa ZQ also
pfffff, all noobs here keep telling ppl to use zee and qiu. Every one knows pros unplug the power cord
@@nobeltnium That works I guess, but what I found to be equally effective was to stop paying my power bill
Lol I loved this: “gg” : “ why in the world is he trying to go the top of the document in steam” that is awesome!
The way the files are renamed is really amazing! It even looks unreal if a user uses only a graphical interface!
Very nice! Thank you!
right? just the substitution alone is mind blowing, then there's regular expressions and plugins, many possibilities
Nice video.
You did a little mistake when explaining /g after your substitute command.
/g allows to replace more than one occurence on the same line where a match is found.
The % at the beginning of the line is what makes the substitute command to apply to the whole document.
Lastly, when saving and closing at the same time, you can use the command :x or event ZZ in normal mode.
Also, `dw` will delete until next word, `daw` will delte a word (including space before it) and `diw` will delete in the word.
Something you might find useful DT, try ':set number' in vifm. Gives you line numbers like Vim, makes navigating large folders easier. "25G" would open the 25th folder or file no matter where you are in the folder. You can make it permanent in your vifmrc if you like it.
Great video. I can certainly relate to your having Vim bindings ingrained in your head. I hate having to reach for the mouse, and trying to remember "Is it Ctrl-k l, or Alt-k w, or..." ;-)
Wow Derek!! What an excellent video!! I sent a link no to my nephew who is a HUGE vim fan. I'm starting to use it. So much fun even though most of the time I use nano and am trying to use vim instead. Your vim videos are great and I hope you will do more 😀
You might want to start using vim as your terminal. Write the line you want to execute directly into a vim file and then put your cursor over it and execute it. For example I have a file called "/home/dt/Dropbox/fresh-mint-install.bsh" and I add to it anything I install on my system. So for instance after watching this video I added the line:
:!apt-cache search vifm | grep "^vifm "; time echo your-password | sudo -S apt-get install -y vifm; apt-cache search vifm| grep "^vifm "
and in my .vimrc I have a line that looks like :
nnoremap :exe getline(".")
So all I have to do is press the f2 key and the line under the cursor will be executed as if it were entered in the shell.
Since I live in vim, do all my notes in vim, I sometimes have to open other programs from within. So my daily todo notes might have a line like:
Update bank spreadsheet :!libreoffice -o $(locate mybiz.ods) & :!firefox www.bbvacompass.com/ &
which would open a browser to my bank and a my libreoffice calc spreadsheet by pressing ,gg because my .vimrc file has a line like:
:map gg :.,.s/:!.*&//gcn"tyf&@t:.,.s/&.*:!//gcnf:"tyf&@t
Just some thoughts...
I first used vi in 1988 when using Unix and VMS mainframes at college. All these years later, I am back to using it and now I want to use vim bindings in everything. Back in the day, I didn't realize how powerful and efficient it is...
Great video! I did not know Vifm and now I just love it. Thanks for sharing it with us. Keep going that way.
NeoVim is truly taking things to the next level. You can basically run vifm inside a neovim subwindow because you can now have terminal inside a window.
you can do that in vim 8.1 or .2 I think
:term
opens an async term window, CTRL-W X to swap it's position with previous window
If I weren't already a happy VIM user, the first 90 seconds of this video would have me afraid of ever trying it!
Should be mentioned that there is a VI light that comes with most distros and then there is VIM the full pkg you can apt install. The key bindings work ever so differently in VI light vs VIM. I always have to install VIM to get the key bindings to work correctly. I used VIM and preferred it over Nano at the time but after discovering 'micro' I fell in love with its simplicity and how user friendly it was in comparison but still very fast to use. I especially preferred micro's ability to auto-detect different script/programming languages to correctly highlight variables in different colors. Plus it is only one binary file that you install in the /bin folder. I put it on all my Linux boxes.
Well said. Micro is brilliant for making quick edits to config files for instance - I can add my lines, then save and quit almost instantly.
are you and Luke Smith gonna make a video together sometime?
both of you are my favorite Linux channels in TH-cam
same . but why you want them to make a video together . 5:49 he has a screenshot from luke's video
vim is love. vim is life. (emacs with evil mode is the master race tho)
I agree with your last words. Plugin for browsers Surfingkeys has similar functionality like the vim. You can move on a website or write in a input text (almost) like in vim.
Cool video! I'm a long time Vim user, but just getting started with file managers, potentially vifm. Btw, if you happen to be using NeoVim, you can set inccommand and see the potential results of your substitute commands live. And the modifier "g" is only needed if you wanna do more than one substitution per line.
vim is love, vim is life, vim text editor is very nice
on Ranger, we can do bulk renaming with press "v" for select all files, then type ":bulkrename", if you set your "export VISUAL="vim" on `~/.profile`, it will open Vim with all list file name. Exactly same like in this video. (^_^)
Personally I’ve found vim keys a life saver on Firefox. I use VIM Vixen plugin and it’s really nice.
Also try "Vimium FF"
So try qutebrowser.
I made the comment that for a new linux user, their first task should be to learn vim. Vim is very important to your success with linux in general.
Writing anything at school was such a pain since we have to use Google docs
Thank you. I always learn something new and useful from your videos. 👍🏼
You can also add 'set editing-mode vi' to your '~/.inputrc' and that will enable vim bindings to any app that use the GNU Readline, not just Bash. If you're an emacs fan, you can do 'set editing-mode emacs'. Just remember to source '~/.inputrc' after making changes.
You had 99.9K subscribers. I decided to subscribe thinking it'd reach 100K, but nothing happened.
Then I clicked this video and it was 100K (I guess it needed a refresh). Congratulations, but now give me my 100K-th subscriber reward.
My first experience with vim was.. unpleasant. I felt trapped, was erasing lines, felt like I froze it up, didn't know what the hell to do, and when I finally got out of it I said "fk this thing.." Now use it all the time. People getting into Linux should practice on a document you don't care about and learn vim. It's so worth it. I never used vifm, but will be grabbing it later.
You mean like vimtutor?
VIM really is a way of life!!
this is exactly how I imagined a fanatic vim user.
nano is the true warrior way
mc has been there for 25 years now, and it's still improved. It's a terminal based filemanager. vifm cannot even stand in it's shadow. MC has it all. image preview, file editing, ftp/sftp, far better interface. Better and directly accessible info. Comparing dirs, and so on and so on. for advanced stuff, you can use bash. And it's all more or less build in. You can even set vi as it's main file editor if you wish. (i use nano within mc though). mc had some probs in terminal multiplexers, but not anymore.
Very cool Derek. Another solid video. I really like this kind of content. Thank you.
Trying to use something that doesn't have vim bindings is like typing with only two fingers.
It's a skill that is just about as powerful for editing text as learning to touch type is.
I'm new at Vim, thanks! Also.. the audio quality is outstanding
I think the vi mode is implemented by readline library that is widely used by many terminal interactive tools, like bash.
For browser, the Surfingkeys chrome and Firefox extension will make you feel at home, it has a lot of good features, one of the feature that other vim style ext missing is add bookmark. Surfingkeys ext is not very widely known, I guess its name prevents it from easily searched by vim lovers, but it really deserve your time to check it out, believe me
Vim is superior, but it has a steep learning curve 👌
Put the following in your `~/.inputrc` and you'll have `vi mode` in every CLI tool using standard input (e.g. `mysql`):
set editing-mode vi
set keymap vi-command
Thanks for Sharing enable vim in shell. I was looking for it for a very long time.
Thanks man, learning something good everyday from you. Keep it up!
Thanks! :D
You should try Neovim. I recently switched to it from VSCode and it's pretty nice. Basically vim with more features and better performance.
Nice one on the vim key binding for shell
Well, vim is better but you first need to memorize the 105347098754 shortcuts to make your life easier with vim!
Thanks vim
some more basic usage will be great, like switch between the two panel and copy files etc
Practical Vim helped me a lot.
9:53 /g (= greedy) in substitute is technically only necessary when what you match may be present multiple times in the same line.
Didn't know about vifm, thanks!
Edit: Or exa.
amazing video, i´m starting to apply now
You speak from my heart. Vim is extremely great, the next that comes close it maybe emacs, but I use alt to navigate through my i3 windows and do not like that emacs heavily rely on alt commands. Vim is more independent from that shit, also works on non-desktop environments like server terminals.
That looks great, I did not know you could do that in bash, thanks!
2:55 Nautilus and Dolphin are for guests; for personal use there is rsync, cp, mv, mkdir, ln, rm, but also mc, ranger, or vifm if one will have to rename batches.
First 90 seconds: it was as if you were reading my thoughts!
Yes, vim^Wemacs is a best editor of the world! :) To be serious Vim is a great text editor. But, after a thinking about different text editors I decided that Emacs is the best text editor for me. Emacs was written in C and Lisp (ELisp) and one could change almost any behaviour of the text editor at the runtime using ELisp interpreter. And that ELisp power allows me to change the text editor as a like. Using a Vim give me vibes that it is an ad-hoc editor comparing to the Emacs (which is like a software Lisp machine). Now, I am using vim/sed/ed for ad-hoc tasks like list processing, configs, etc and Emacs to edit source codes, To-Do (org mode), TeX and so on both local and remote (Tramp!). But, anyway they are both cool text editors :) Sorry for off-topic.
I always worry about putting vim bindings in bash because then I will become even more reliant on my own systems, making it very hard to work on a vanilla OS on a differently configured computer. I live vim, I definitely will look more into vifm, but i want to make sure i dont forget the bash or other key bindings.
V-I-F-yem sounds pretty good!
Thanks! vifm is really a fantastic tool!
Cool. Now I'm using vim keys with zsh. Thanks.
I feel you brother!
Thanks for saVIM my life with these tips.
Great vid, thanks! Keep up the content
woah, didn't know about vifm, installed it right away! :D
loved it! cant make the switch, need to be 'productive'
definitely spent hours renaming files in a folder
Good stuff as usual, Derek!
vi vi vi is the number of the beast
This is true for people that find themselves in vim and have no clue how to exit. I imagine they would feel like going "full Exorcist" and start throwing water at the screen...yelling, "The power of Christ compels you!"
You should *never* limit yourself to only one set of keybindings. As an emacs evil user, I strive to master to both emacs and vim bindings. When I'm on OSX I try to master the macOS bindings too. So I can access any machine with ease and get productive within seconds.
Very cool, didn't know about vifm before!
Nice tut, but a bit too stretched. When screenshots previews were enabled, the top screenshot was from Luke's channel. Nice that they check eachother.
There's a pretty good way I discovered about switching to normal mode while you're in Insert mode without using the Esc key or any other combinations. I'll make a video about it when I got the time. You're going to love Vim more and you're not gonna need to move your hands away from the keyboard or even touch the Esc key.
where's the video?
very useful and clear.
By the way I liked the sound quality.
I found vi mode in bash very annoying because ctr-L stops working (unbound in vi-insert mode).However eventually I found this on some forum:
bind -m vi-insert "\C-l":clear-screen
With that binding it's perfect.
Very beautiful theme you have for vim.
I've been a devoted Vim user for nearly 20 years. While I do prefer apps that support Vim key bindings, I've never had any difficulty using apps that don't. I wish people would stop repeating that nonsense.
[ Emacs User Alert! ] The biggest problem with Vim keybindings that I could think of is that it really gets deep in your brain, and you'll not be able to effectively edit text on other software or platform without constantly reminding yourself NOT to use 'hjkl' to navigate or press 'i' and 'ESC' to hop in and out of Insert Mode. While with Emacs bindings all the navigating shortcuts are prefixed with Ctrl or Meta (Alt) and can be ported to different platforms once you get used to it!
I don't think that the biggest problem. the biggest problem is emacs has poor keys binding since beginning. that will make your hand moving awkwardly, strained, and your pinky muscle slowly getting injured.
@@nikovn9 That's very true. I've also suffered from Emacs pinkie a little bit before I mapped the two keys (Alt) on each side of my spacebar to Ctrl
Good video, I know what you mean about how it infiltrates your life. What are you using to get the big arrow shaped blocks denoting Normal mode, etc?
Also if you haven't yet, check out the Vimium add on for Chrome and FF, I love it
i rediscovered vim a few months ago
and now i feel slow editing in a regular text editor xD
Sounds like VIM is the Dvorak of editors.
Vim is a way of life and i don't want to be in, but i understand
That's interesting. I didn't know that vim file manager exist
I can't tell you how often I've tried to end a Slack chat with :q
slack and discord must be quit with
$ killall slack && killall discord
I have heard Derek say vim so much
*So* wicked! Thanks man.
👍
dude probably VIM'd his coffee maker
This guy needs surfingkeys. no worries about things like vim editors in email or keybindings in the browser
Thank you for the lesson.
I've been using vim since 1981
1992
This guy is an ancestor I wasn't even born yet, I was born like 6 years later
wow, you're a man.
vi, or vim ;)
1992
Would love to see some list whats on your desktop (desktop manager, bar, powerline?, .files etc)
Me 2
" I wanna delete a line with dd "
sudo dd if=/usr/bin/vim of=/usr/bin/vi
great video, I know I'm a bit late, but could you tell me what your distribution is ?
Don't forget sc-im or scim: github.com/andmarti1424/sc-im Curses based spreadsheet with vim keys.
not sure i want to use vim, i like having a graphical system to use
why do you have pictures of luke smith in your screenshots folder?
Good question. And that screenshot was from like 3 months ago. I must have been watching TH-cam on one of my monitors (3 monitors) when I took the screenshot. I didn't think about this before making the video. Some of these screenshots could have included me watching Netflix on that monitor....or other stuff.
I am using ranger, but i'll give it a try. Thanks.
Vifm behaves very much like Vim and is snappier than ranger. But I still use ranger for opening files in Vim, it's more convenient for that.
You really live in Vim man. You should go to Text editors rehab haha jk, amazing info 🙂 Thank you
This is quite useful thanks.
You really ought to spend some time in emacs. Emacs can be your window manager, file manager, web browser, mail client, irc client, text editor, and more. :-)
In other words, it can barely do more than Vim with an open terminal buffer. I don't see why I'd sacrifice Vim's controls for the same thing in a different package. And please don't come with "but muh Evil mode", Evil mode can't make Emacs behave in a sane way either.
@TheBlackiwid Vim can do all important stuff I need, and yes, that includes shortcuts depending on filetypes etc.
- who needs a bittorrent client with Emacs/Vim controls? It's not like you're writing a novel in there
- congrats
- picture previews work
- vim has a jabber client(and google calendar sync btw) as well
- you mean the magit that's also available for Vim?
- presentation plugins for Vim exist
- the python prompt in a terminal buffer shits on a random calculator
- spreadsheet is possible in Vim too, albeit limited
Can Emacs do a few things more? Sure. It can't properly emulate Vim's amazing controls though(and yes, I've tried. Evil mode and spacemacs do not solve the real problems with Emacs controls).
SaHaRaSquad both programs are great , there’s no need to fight over 😅😄 it’s sad all stupid wars like wars for such distro over another one etc . Programs are nothing but tools , and what is important is what you can achieve with these tools , the tools are not the final goal , only things making your journey more easier , one might take a road and on other one another road , they have different goals , objectives etc
@TheBlackiwid "Evil mode means vim shortcuts"
No. Evil mode means most Vim shortcuts that usually(but not always) behave like Vim, inside an environment that's fundamentally incompatible with Vim shortcuts.
Using Emacs with Evil mode is like making fire in a pool...it works if you let it float on a surfboard, but you better don't move too much.
You like Emacs, that's fine. I don't because the controls feel like they come from a random generator, but whatever floats your boat.
@TheBlackiwid "would you rather have a pretty good universal mass produced one, or rather have one made for you specially to fit you perfectly"
Again proof that you greatly underestimate Vim. Comparing it to a mass produced product is ridiculous. There are literally plugins that let you edit and sync Google calendars in Vim and much more. So many people also constantly praise org-mode while not realising it can be used in Vim as well.
"because you are to lazy to test something else"
I literally spent a whole week trying Emacs with Evil mode and configuring it for my needs. The control scheme just doesn't work for me.
I'm glad you like vim. I don't I like it. I like to use sublime-text editor and gui file manager. I don't mind using the terminal when I need to. I'm running Manjaro. When I'm in the terminal I'll use nano.
I do the same brother. I actually like vi and nano they do what I want.
Literally the same day I discovered ranger... small coincidences I guess. :)
So what you're saying is Vim is a better operating system than Emacs because it actually has a decent text editor?
His method of setting vi mode in bash is sub-optimal. Bash uses readline so you are better off just "set editing-mode vi" in your ~/.inputrc then bash and all the other very many readline based programs will use vi mode. Also, ranger consistently gets rated as the best "vi based file manager" compared to vifm.
"His" is a sub-optimal word to use in a comment. You are better off using "This" instead. :)