Adding a figlet title on every dot file is like drawing a heart on top of each "i".
@coompiler90293 жыл бұрын
People who have neofetch in their .bashrc/.zshrc: *Pathetic*
@RudyHill5 жыл бұрын
Luke's Tech Tips TM
@TehKorwinMikke5 жыл бұрын
you can save up to 2/3 keystrokes with `alias e='vim'` in .bashrc
@0.1X-Engineer5 жыл бұрын
This whole video makes you look like Cypher from the matrix movie
@romeo.mike.3655 жыл бұрын
...I don't even see the code. All I see is blonde, brunette, redhead....
@gekkou73744 жыл бұрын
....it is him.... and we are in the matrix D:
@justinsuvoy3 жыл бұрын
Cypher wanted that steak!!!😎
@demian19515 жыл бұрын
That's the thing i like about vim - using it for a long time and now i have some new good ideas for my own vimrc from someone who loves it too :) there is always something that is usefull that you didnt think about
@ClaudioRoncaglio5 жыл бұрын
Luke, you're the only vim user on the planet without a Tim Popes plugin! ;)
@LukeSmithxyz5 жыл бұрын
Yeah I used to have surround, which I guess it very useful, but I just never got in the habit of using it.
@marcelocortez33124 жыл бұрын
I felt like a pro adding "set number" to mi vimrc and then your video... Damn.
@rochr44 жыл бұрын
'set number relativenumber' is excelent, thanks! :)
@2Worlds_and_InBetween3 жыл бұрын
yes it is... it could be said im an older user... cos, i started with line numbers as a kid and still need them now
@cam22915 жыл бұрын
dad
@b4ssripper5 жыл бұрын
Main issue with someone starting fresh with vim - they tend to install bunch of plugins/using others vimrc files without actually knowing what these settings do. Afterwards, without any organization file become so cumbersome that sometimes not only the owner of this file could not understand it, even daily vim users may wonder why they use some of deprecated or unused settings that hogs program boot time and just being unnecessary. (Also i don't know who wrote all that up ☝️ikr im pretty bad at english)
@AhmedKhaled-sj1zx5 жыл бұрын
Sooo clean. I like it. Emacs user here :P
@kendawg_mcawesome5 жыл бұрын
Jeez, I'm gonna make one of those Emacs videos for you, y'all need to get on that shit.
@douwehuysmans59595 жыл бұрын
Will you upload a tutorial on ed?
@MA790XT5 жыл бұрын
I would be interested how you take notes. Do you have a Latex/Markdown Document for a Formula or something else you would like to note/remind?
@LukeSmithxyz5 жыл бұрын
I don't take notes.
@tomtomtomtom6915 жыл бұрын
Until you write your own compiler, it’s an amateur project. Holy C.
@user-ic7cj8lq9z5 жыл бұрын
I do a lot of html files, good idea to automatically put the html character codes
@astrochelonian5 жыл бұрын
Assuming you don't run the compiler script from the command line too often, have you considered simply using after/ scripts in vim to set makeprg appropriately?
@logandungeon33855 жыл бұрын
To address the "remove trailing whitespace" option: Doesn't this destroy your markdown files? Or do you not use the double space linebreaks?
@LeonidBraynerMyshkin5 жыл бұрын
Vim has packages since 8.0. You only need these plugin managers as a fallback in case you're managing a CentOS server or something.
@lolisamurai5 жыл бұрын
another nice way to detect trailing whitespace and other whitespace you don't want is set listchars=tab:>~,nbsp:_,trail:. set list this will highlight tabs, non-breaking whitespace and trailing whitespace. the only downside is that you have to switch it over to tabs when you work with code where tabs are used set listchars=tab:\ \ ,nbsp:_,trail:. set list
@larslelove81895 жыл бұрын
Thank you so much, this is awesome
@jankodedic31305 жыл бұрын
Why don't you use fugitive? It's much better than vimagit..
@Slime1815 жыл бұрын
didn't you use vimtex or vim-latex at one point?
@DrFizzyQuizzler4 жыл бұрын
where did you find the Bold header that you use for your Vimrc and bashrc? I have seen them in several of you videos and would like to know where you got them?
@GfastGao5 жыл бұрын
Hi Luke, I love you. Ist that the performance issue bottlenecked you to make video only up to 720p? or you believe this is just fine?
@LukeSmithxyz5 жыл бұрын
I don't record on a 1080p screen, so that's why there's no 1080p option.
@cunningham.s_law5 жыл бұрын
I can't seem to find the video where you explain how to get latex live preview without the plugin by piping the file to zathura
@kaize38515 жыл бұрын
What happened with live latex preview plug-in?
@ReneHoffmann1945 жыл бұрын
The remove trailing whitespace command has a flaw. When saving the position of the cursor changes to where a whitespace was replaced. Is there a fix/workaround for that? Couldn't figure one out by myself.
@shuvojitkarmakar12493 жыл бұрын
I don't see the snippets anymore in your init.vim file in your GitHub
@BrunusRicieri5 жыл бұрын
Waiting for the video: vim is bloated, only use nvi XD
@2Worlds_and_InBetween3 жыл бұрын
#Vi ftw
@daveshouldaine25203 жыл бұрын
ed is standard editor for UNIX
@fantoroVEVO5 жыл бұрын
wait what I thought you switched over to emacs
@LukeSmithxyz5 жыл бұрын
The only reliable benefit of using emacs is that people would stop nagging me to use emacs.
@fantoroVEVO5 жыл бұрын
@@LukeSmithxyz oh ok honestly I should get back to watching you more because last video I watched was with you using emacs lol and your content is really enjoyable
@LukeSmithxyz5 жыл бұрын
Well I've never used emacs in a video here.
@fantoroVEVO5 жыл бұрын
@@LukeSmithxyz Hmm seems like my memory is getting rusty oof
@TehKorwinMikke5 жыл бұрын
@@LukeSmithxyz Vimmachines will nag you much harder than emarcsists if you were to switch.
@legorockfan95 жыл бұрын
How do I learn to become a VIM god?
@2Worlds_and_InBetween3 жыл бұрын
practice practice... vim tutor practice yt vids practice practice vim tutor practicepracticepracticepracticepracticepracticepracticepractice ive been using vim for a while now and I still learn new stuff every time I use it
@frankliuao5 жыл бұрын
Hi thanks for the video!! May I ask what software you used to record your screen and the webcam at the same time?
@minhajshovon97894 жыл бұрын
he uses ffmpeg for screen recording and mpv to play his webcam feed.
@InNominePraxis5 жыл бұрын
What's the purpose of the in your compilation bindings? I guess you're hitting redo but y tho
@InNominePraxis5 жыл бұрын
Your compilation script is good stuff man, i made a few tweaks to auto open and/or refresh pdf upon compilation since i never want to compile without seeing what is actually happening. .vimrc: autocmd VimLeave *.tex !~/.local/bin/compiler.sh % vimleave compile.sh: if [ "$2" == "" ]; then pdflatex "$1" # Open corresponding .pdf document if not already open. Otherwise, # reload .pdf file by sending an 'r' keypress via xdotool. if [ ! $(pgrep -f "mupdf-x11 .*($file).pdf") ]; then mupdf-x11 $(echo "$1" | sed 's/tex$/pdf/') & disown else xdotool search --name "$file".pdf | xargs -I "$file".pdf xdotool key --window "$file".pdf r fi elif [ "$2" == "vimleave" ]; then # Close corresponding .pdf document if open. [ ! $(pgrep -f "mupdf-x11 .*($file).pdf") ] && exit 0 || xdotool search --name "$file".pdf | xargs -I "$file".pdf xdotool key --window "$file".pdf q fi
@lpanebr3 жыл бұрын
How do you manage your bibliography? I mean when you came across a PDF or website online, how do you get the information saved and file stored?
@lpanebr3 жыл бұрын
Nevermind. I just found it at kzfaq.info/get/bejne/odlxmdB7y8rZkmQ.html thanks for the great content!
@petewest31225 жыл бұрын
what is ?
@TheJamesconroy5 жыл бұрын
Pete West is a variable holding a key. Luke's leader is space, but by default it is one of the slashes, "\" I think.
@petewest31225 жыл бұрын
@@TheJamesconroy Thanks, James.
@Gabriel-to8uo5 жыл бұрын
wildmode is enabled by default on new installations of Vim I think? At least when I was showing it to my brother on his computer it let me autocomplete stuff
@Egzvorg5 жыл бұрын
it was probably set in defaults.vim which is not loaded if you have any .vimrc
@Eryn3215 жыл бұрын
when you coming back! I know they got internet in that small town you moved to!
@christbaumer4 жыл бұрын
What are the advantages of Vimling over just XCompose?
@MultiCGU5 жыл бұрын
Why not use NeoVim?
@quebono1005 жыл бұрын
vim is legend :)
@danplt3 жыл бұрын
How do you edit files which have text in language that needs complex font rendering, like Bengali
@MrHatoi5 жыл бұрын
Why do you use a special character plugin instead of just using a compose key (like right alt)?
@klaskycsupo1215 жыл бұрын
Great video. I am having trouble setting vim as c/c++ ide. Could you make tutorial on that?
@alex_hiller5 жыл бұрын
You will want to install UltiSnips (to make quickly editable and expandable pieces of code) and the ALE linting plugins (for good code practices). I then use a short script to compile the current file and bind it to r.
@falafelfajt5 жыл бұрын
sam editor when?
@mkd11135 жыл бұрын
Why don't you use ed, the standard unix text editor.
@jakestewart97984 жыл бұрын
i'd like to interject for a moment. "vi" is the "vi"sual editor for ed and vim is just vi improved. The commands used in ed also work in vim, so in a sense he is actually using ed.
@minhajshovon97894 жыл бұрын
spoiler: he will start using neovim
@cla0410545 жыл бұрын
I am now using vim8 native plugin manager, it is the easiest one to use and most robust(for me)
@leonardozerino96284 жыл бұрын
how the hell do you use deadkeys in st? or in urxvt. I still couldnt figure how enable dead keys on the simpler terminals
@rolandicus17715 жыл бұрын
Use ALE with shellcheck it does the shellcheck inline and marks the lines. Works good. What about bash-support? That does good for code snippets
@code88604 жыл бұрын
Just asking: is not vim-fugitive good enough?
@barneyzephirin-belle5545 жыл бұрын
Im trying to setup autocmd snippets similar and its not working... what do i need
@liamattard38994 жыл бұрын
How does he keep the vim terminal floating without a border?
@rexevan67145 жыл бұрын
Vim itself is bloated, use neovim instead.
@rolandicus17715 жыл бұрын
Vim 8 has asynchronous support also :terminal now. What's neovim got removed that bloats vim?
@HiPhish5 жыл бұрын
@@rolandicus1771 1) Neovim has removed all the code for all the dead systems that wouldn't be able to run Vim anyway. 2) Neovim can be retrofitted with other languages without recompiling it every time 3) Lua as an alternative to VimScript 4) Neovim separates the interface from the editor 5) Neovim has an API 6) Neovim does it better :P About 1), this removes tons of code that doesn't do anything anyway. I know they also replaced some parts of Vim's own code with libraries, which should at least in theory make it more maintainable, but you will have to ask the devs about details. About 2), if you want to write a Vim plugin in for example Python you need to compile Vim with Python embedded. That's not a big deal for something as common as Python, but it is a big problem for other languages. Either your package manager offers an option, or you will have to get all the dependencies and compile it yourself. And not just that, now support for that language is tied to Vim's development, adding yet another maintenance burden. In Neovim support for other languages can be just retrofitted. Want to write a plugin in your obscure pet language? Just hook up the API client and you're good to go. I even wrote my own for Racket (a type of Lisp), you can find the whole list here: github.com/neovim/neovim/wiki/Related-projects#api-clients This alone removes tons of bloat and maintenance nightmare out of the editor. I can update and maintain my Racket client completely at my own pace instead of being tied down to Neovim's release schedule. About 3), VimScript is not going anywhere, and it's a good language for what it is meant to be: a configuration language for a text editor. But if you want to do more complicated stuff, Lua is a better choice. About 4), just as support for plugins in other languages can be retrofitted, so can a GUI be retrofitted. The GUI is really just a plugin. Lots of interesting stuff, you can even embed Neovim into another editor or IDE. So even if you are forced to use a certain IDe at work, you could just embed Neovim into it and have the real things instead of an approximation. github.com/neovim/neovim/wiki/Related-projects#gui About 5), this is the killer feature for plugin authors. If you have ever written a plugin for Vim you will know how to accomplish the simplest of tasks you will have to go through a series of rituals. The API gives a set of primitive building blocks to work with, so you no longer need to sacrifice a virgin goat on a full moon to set an option in a buffer that is not the current one. Even if you don't write full plugins, the API can allow you to write much nicer mappings. I really regret not making Info.vim just Neovim-only and using the API. About 6), that one is intentionally provocative :) But seriously, all the features Vim copied, it copied in an incompatible and worse manner. There is no reason to use JSON over MessagePack, it's slower and uses more memory. People who have worked with both editors agree that Neovim's way is easier to work with.
@desktorp5 жыл бұрын
@@HiPhish The best sales pitch I've ever read and it's for a free program.
@rolandicus17715 жыл бұрын
@@HiPhish neovim sounds the balls for development. I use vim for bash scripting so I guess in that respect its available on most servers I bother so it's fine. Enjoy the neovim silver ship as you glide through the high altitudes ;)
@2Worlds_and_InBetween3 жыл бұрын
in 20 years time I expect to hear the same arguments again, like last time
@vison3605 жыл бұрын
Still hoping for Kakoune review
@biku19985 жыл бұрын
Which Linux distro are you using ?
@ianpan01025 жыл бұрын
[ 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!
@yepsan95 Жыл бұрын
What about the pinky injuries
@xinruizhong30965 жыл бұрын
maybe you can make videos about code-completion and LSP---language server protocol . Thanks .
@matj125 жыл бұрын
Why do you have your accented characters automatically converted to HTML ecape sequences? IMO escape sequences are for those who can't type the actual characters, so converting the actual characters to escape sequences is pointless.
@dmmeteo5 жыл бұрын
Did u try SpaceVim?
@TheJamesconroy5 жыл бұрын
How do you use tmux? I've looked at your config but couldn't find the super key.
@LukeSmithxyz5 жыл бұрын
I don't use tmux except as a dropdown terminal (super+u). I do all my real tiling in i3.
@rexevan67145 жыл бұрын
*shebang*
@-XArchLinuxEnjoyerX-5 жыл бұрын
Hey, can someone please tell me where to get the shellcheck program he uses? For me it says command not found. Thanks
@minhajshovon97894 жыл бұрын
:set spell!
@Jeremy-su3xy4 жыл бұрын
I don't know how to configure the rc file.
@feschber3 жыл бұрын
:e $MYVIMRC
@kycurtis5 жыл бұрын
well I feel splitbelow and splitright are counterintuitive for me... I like to be splitted above and left.
@mayurravindra94333 жыл бұрын
What is leader?
@exebixel4 жыл бұрын
what the color scheme?
@Ben7o711X3 жыл бұрын
the master / slave terminology borrowed from the lexical field of slavery is offensive and obsolete. The Main / secondary terminology is likely the technical replacement. That being said, I am not giving you a trial of intent.
@pharmokan4 жыл бұрын
system paste register in terminal using vim ftl
@TOn-fx2gr4 жыл бұрын
When i am on tmux i loose my vim plugins theme ....... Can someone help pls
@feschber3 жыл бұрын
just in case you haven't figured that out already: its probably because tmux doesn't support 256 colors by default. unix.stackexchange.com/questions/1045/getting-256-colors-to-work-in-tmux TLDR: ~$ which tmux tmux: aliased to TERM=xterm-256color tmux set -g default-terminal "screen-256color"
@margielamadman5 жыл бұрын
can i get your vim dotfiles
@princesinha2845 жыл бұрын
How to search for plugins?
@theemacsen15185 жыл бұрын
vim awesome
@nngogol2445 жыл бұрын
Luke, can you create a scenario, where you use VIM, tmux, htop and other tools for fun? I just always wanted to use this awesome "pro"-looking quick-flickering screen porn with hotkeys etc. Don't worry, I want to see this JUST for fun. IRL I code in good mood and jerk of screen with tmux.
@harshtiwari95885 жыл бұрын
what do you think about space-vim?
@theemacsen15185 жыл бұрын
trash dont use it lmao
@monadstack5 жыл бұрын
Hi mr, lemme save ur videos offline for understand more. Lacks of internet data here.
@tristanbellingham67595 жыл бұрын
I use pathogen because I am not a coward ty
@Andre-bi3gq5 жыл бұрын
5:00 or you could use themouse...
@spagootest21855 жыл бұрын
You never realize how fast you are with a keyboard until you use shortcuts.
@MrPiapple4 жыл бұрын
Why not just use number instead of relative number, and :number to change the line
@soveu82375 жыл бұрын
I am a simple man, I see someone using Go, I click upvote
@neon89403 жыл бұрын
vimrc github.com/LukeSmithxyz/voidrice/blob/master/.vimrc not found (