I want to share knowledge and educate developers about Java, enterprise software, and IT in general. I believe that teaching others not only greatly improves their situation but also educates yourself.
I'm working as a consultant, trainer, and developer. My role is to share knowledge and educate developers about Java, enterprise software, and IT in general. I support clients with workshops and tailored consultation engagements, by applying expert knowledge and experience with a high claim in software craftship. I focus on how concepts work and why specific solutions are needed, and only then how they are implemented.
Пікірлер
chovatiyaprashant.blogspot.com/2024/01/17-intellij-ideaandroid-studio.html great 🎉
Great 🎉 chovatiyaprashant.blogspot.com/2024/01/17-intellij-ideaandroid-studio.html
Hi Sebastian, great video. Keep up the great work! As a sysadmin I tried to use ansi layout, but it's a problem using rdp to a server and can't type the password correctly.. So I use iso-it layout at the end.
awesome, thanks for sharing
Sadly, Windows does not ship a US International keyboard layout with no Dead Keys. Yes you could always use a third party layout, but realistically, its better to use something thats just available
nice
Regarding the last issue, or general improved mobility and making the full os more vim-like: mapping `right alt` / `right cmd` with h j k l to left down up right really helps.
Hey, thanks for the video and clear explanations! One question though, whenever you perform changes against the app running in docker with live-reload there is an error shown: "Server returned HTTP response code: 500 for url localhost:8080/dev". You can see the error at 24:08. I am wondering what is this error about? I do know that it does not impact the live-reloading but still, it should be taken care of :)
Well you could also use plugins and further enhance everything you do
You can use W in ciw as well it does the same thing as cW when youre at the beginning of
Okay ... missing the most important details about the actual mock application ... useless
awesome! looking forward to using this stuff soon
Alt + enter Suggestions for error correction F2 Navigate errors Alt + 1 Open project window Esc Focus back to editor Ctrl + E View recent files Ctrl + B See declaration of symbol Alt + F7 See usage Ctrl + ctrl Run anything Shift + Ctrl + W / Ctrl + W Expand / Close selection Ctrl + / Comment Shift + Ctrl + / Comment Block Shift + Ctrl + Enter Auto complete Ctrl + Alt + L Reformat file Shift + Ctrl + Alt + T Refactor Shift + Ctrl + A Find action Shift + Shift Search
Arch + i3 gang FTW!! New subscriber.
I already see an issue with this layout, at least for French people : no à or À maybe I missed something. So far, I'm happy with altgr-intl also available natively with Linux
à À (just typed them with US Intl 🙂). The ` key (top left, under Esc) acts as deadkey if you press it with AltGr, so you can AltGr+` and then a or A. I know it's a bit more effort for that character, but at least it's possible to type
Appreciate the tutorial :) Could you maybe do some more advanced stuffs with maven plugins, like the maven shade plugin? Some years ago I remembered seeing a colleague do some magic with it to replace classes in a jar, and his explanation just flew over my head. Some other complex plugins too (where the docs are just ... confusing without an example).
should change the tilte 10 Advanced Vim Features (You Probably Didn't Know) (If you use it to create notes)
Useless. Markdown + Foam is better.
This video is as precious as gold. As an engineer who has just started learning DevOps, I couldn't find any other channel on the internet that gives a direct practical explanation. Everyone was theoretically explaining on a black screen or other resources on the internet were explaining how to do this using their own paid infrastructure. Mr Daschner, I would like to thank you for this knowledge you have contributed to humanity!
What's the meaning of dot in front of the exclamation mark `:.!zsh` on the last bonus tip?
It's a range declaration, in this case current line (text processing command have such a syntax: `: [ range ] command [ args ... ]`)
richtiger Ehrenmann !
Just use VIM
what's easier to learn a few key shortcuts in IntelliJ or how to do a Java maven project with junit framework and Mockito framework in VIM? Can you actually do that thing in VIM?
Yes, you can. But it doesn't work all that well. I use Neovim for anything but Java.
I needed these tips, thanks for sharing!
bro you are amazing 🤩
norm is a pretty new to me, this is really great to put in to my arsenal
On Linux Ctrl+Alt+L is assigned to Log Out. Reassign it to soemthing else in settings-> type "format" in search bar.
Yes, I also recommend to remove all OS mappings that don't involve the super (Windows) key to avoid conflicts especially with the IDE
This was very insightful, thanks
Hello, is there trick or command or control to auto complete the brackets. like on typing open bracket we should get the closed bracket automatically. If yes please let me know.
There are multiple Vim plugins for that such as AutoClose. Haven't use any of them so can't comment but you can start from there
super coollllllll
jdb is still necessary in some cases when deployments of applications are done on environments with security restrictions (so that connection to environment happens through some proxies or remote desktops; in that case remote debug from IDE is not possible or too complicated; and it is not allowed to install something additionally on those environments themselves). Maybe it is too complicated to use jdb (it is necessary to know how to attach sources properly, which is complicated especially in case when application is shipped as WAR deployed on some web server) but this is the only way
Ok interesting, haven't had this case myself
Could you please move the keylogger to above you? I think it will be better there.
I strongly recommend against remapping of Caps Lock to Escape. When you do eventually switch computers, maybe trying to repair someone elses. Any keyboard remapping is going to make life difficult.
That's right, but thinking in this limitation will sadly prevent you from a lot of optimizations that you can do on your system (starting with the keyboard mapping, over shortcuts, to shell setup). But yes, if portability is important to you, fair enough
@@SebastianDaschnerIT My reality is that I eventually had to physically remove my Caps Lock key after removing the remap in order to stop trying to use it as an Escape key.
I just use Ctrl+[ instead.
Sweet video dude!
hello, how do i install the toilet plug?
Vim calls this executable as shell command, so you need to be sure that you install toilet on your environment and can invoke it from your command line (i.e. it is in your $PATH).
Awsome stuff bro, keep it up
Reduce the volume of the intro and boost the volume of your speech…. My ears bled
Thanks for pointing out, will do in the future
hello excellent video, could you do one teaching how to create an extension in quarkus, to send messages to kafka? step by step on how to make a custom extension.
There is a quite elaborate Kafka support in Quarkus: quarkus.io/guides/kafka What are you trying to achieve beyond this?
@@SebastianDaschnerIT is that this extension, if there is a problem in the Kafka cluster, breaks the microservice, which I am building, so I was looking for content to overcome this situation
Thanks, your contents has been very valuble for gettong me started with vim motions. Idea vim is a much lower barrier to entry than going stright to nvim when i have been using pycharm for so long.
Thank you!!
Not for me. The US international layout doesn’t have “è” or “ò” letters 😮
It does: è,ò (I just typed this with that layout). It does offer some dead keys (the ` one is on the ~ key, below Esc). Press AltGr + ~ and then e or o
Thanks 👍
I just found out there were more characters you could type with the right alt key and shift but how do I write a freaking em dash without an alt code or unicode number? I love that they have the letter Þþ þough.
Yes, that one isn't there... If you like the Linux Compose key, that might help (it's - - - or so), otherwise I'd just remember the 2014 unicode code TBH...
Btw. discoverying your channel is a goodie. You're doing great work here. Hope your numbers are going to go up mate!
Thanks :)
I can see the benefits of the simplicity and independences this approach provides. I recently rediscovered Emacs after a decades long hiatus from it and got hooked on org-mode. As a developer, I find the luxury I get from integrating code into text amazing. Don't want to steer up another vim vs. emacs round, but are you guys not missing this functionality if you know about it? The disadvantage of my approach of using org for almost everything is of course that I bind myself to that tool. I might eventually discard that approach again for this reason. But so far I'm stilll pretty happy with all the extra convenience I get from org and since it's still mostly plain text, it shouldn't be too much of a risk.
Sounds like you found a great fit for yourself :) I'm personally happy with Vim, but for Emacs I'd recommend checking out the e(vi)l mode where you get the vim bindings, that IMO make more sense from an ergonomical / hand movement perspective
Thanks for the video Sebastian, I have been using IdeaVim, and there is something that bothers me alot, I cant find a way to remap the "Enter" to accept modifications of the code in some popups from the IDE, I Would like to accept those popups with ctrl+m , but I didnt find the way to remap Enter in the context of the popups, It would be very helpful if you can tellme some tip to deal with this
Hey, very likely the way to go for this is to map the IdeaVim actions to a Vim binding, as described here blog.sebastian-daschner.com/entries/intellij-actions-ideavim You can find out the available actions with `:actionlist <searchterm>`, maybe something like `:action QuickActionPopup` for your case that then you can map to a key
@@SebastianDaschnerIT Thank you very much for your answer, I use several mappings like QuickActionPopup, or others in my ideavimrc, the problem is that the popups opened by this actions cant be navigated in a vim like manner, and every time I want to accept an option inside the popup, I have to use the Enter key, so I have to move my right hand out of hjkl, which is hindering my flow, atm I didnt find a way to remap this. Edit: activating the action tracker, to check what events are activated, doesnt show anything when 'Pressing Enter to chose an option inside a popup'
I like the simplicity of this approche but some problem this system had: Vim doesn't support RTL languages so it is not good experience to take note with RTL langue with vim or eighter Neovim. The second problem is that you cannot have code highlight in you not cuz they are plain text notes. How about using Emacs org mode or markdown format?
Yes that's right for rich text, but I'd argue for a bunch of reasons having plain-text files is of advantage (more versatile, can be saved as code, can be used/processed in scripts, etc.). I'd use a format like AsciiDoc or Markdown if you want and activate the highlight in your editor (works in Vim as in virtually any other editor).
👊 Promo_SM
Thank you for sharing this video. As a zettelkasten "note taker", I will miss the backlinks, the list of the files pointing to the current opened file. It is for me a very important feature in order to navigate through my notes. Another important point : my note's titles are rarely just a word, but sentences. So I can create link inside a sentence. See Evergreen_note_titles_are_like_APIs on theweb site of Andy Matuschak. If the link is a file path, it is not easy to read the sentence, it add noise. Until the day I find a way to have those features with vim, I will stick with Obsidian and the Vim mode.
Interesting. Actually I use "w" and "W" constantly, it's basically one of my most used navigation ways
I've abandoned stuff like Obsidian a while back in favor of similar techniques to the ones you've shown. Great video! For file organization you could check out Johnny Decimal which is a set of principles that are device agnostic. Because you use Linux you might also be interested in nb which is a (pretty big) bash script to manage notes, bookmarks and stuff like that.