Тёмный
No video :(

Spacemacs Navigation Superpowers (ft. Channel Update) 

Jack of Some
Подписаться 30 тыс.
Просмотров 11 тыс.
50% 1

Опубликовано:

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 43   
@Gdquest
@Gdquest 4 года назад
Glad to see you again! Three extra related tips: 1. For SPC J J, jumping to a word on the screen by typing letters, I use two shortcuts to access the feature a little faster. , as in search, and as in word, with the function to jump to a word or symbol by typing its first letter. These features come from a package called avy, and allow you to search any open window on screen, not just the active window. In my user-config function I have: (define-key evil-normal-state-map (kbd "M-s") #'avy-goto-char-timer) (define-key evil-normal-state-map (kbd "M-w") #'avy-goto-word-1) 2. Almost all the search systems shown on the video use helm, so searches are fuzzy, and you can use multiple search patterns separated by a space. 3. For jumping to definition (, g g in Python, g D to open the definition in another window in general) and features to jump around the codebase, it may get a little slow with large codebases. That's where you can use tools to generate tags. SPC p G (Project Generate tags) will generate a static database of your code, giving you instant search for variables, classes, and functions in your entire codebase. Depending on the setup, it can also give you the places where a given function is being used, etc. You can use the ggtags package, and install GNU global (sudo apt-install global on debian Linux) and Pygments (pip install pygments) to get tags for python. github.com/leoliu/ggtags So Jack, when are we doing a video collab? 🙂
@JackofSome
@JackofSome 4 года назад
Woah. Those are some awesome additions. Thanks @GDQuest. Let me get back to a reasonable release cadence and we'll talk about a colab 😅. My wife still reminds me about the Python video I promised you.
@piazzatron
@piazzatron 4 года назад
Y'all gotta collab! I've been mainlining both of your vids like some kind of addict for the past week or so and it's gotten me from 0-60 in Spacemacs stupid fast (thankfully coming from Vim keybindings, which is easily half the battle). You two are doing gods work!
@odnoletkov
@odnoletkov 4 года назад
Don't see any problems with quality of this video - it is still better then 99% then the rest of the stuff out there :) At least for me it was easy to follow, not boring at all - can't complain. So it is definitely a right compromise to save your time and keep making these videos. Keep it up and thanks for your work!
@DanielSantaCruz
@DanielSantaCruz 4 года назад
Really appreciate you putting in the time to make these. Congrats on the forked process! My 2c: we don't lack quality of these type of videos on the tubes.... we lack quantity! And the quality of your video is such that I don't think people will mind. Thanks again!
@JackofSome
@JackofSome 4 года назад
That's an interesting take. I started the channel because of the lack of quantity on specific topics but one of my biggest fears was putting out videos where the text is too small, or you can hear me breath, or the sound makes ears bleed, or possibly the worst offender... dead air while the presenter waits for something to install... My one commitment is to not have any of these features in my videos, even for the more relaxed longer ones. I just needed to shed the extra flair I was adding (e.g. lemme zoom very close to the area of the screen I'm talking about)
@enricoschwass8108
@enricoschwass8108 4 года назад
Congratulations
@JackofSome
@JackofSome 4 года назад
Thank you :)
@NathanielHarari
@NathanielHarari 4 года назад
Congratulations! And you keep making them and I'll keep watching them. You make really informative and nice videos and I have always appreciated them no matter what. Thank you. :)
@namwob0
@namwob0 4 года назад
Been using spacemacs for a long time and still learned stuff! Thank you. C-w is a useful shortcut in helm ag to fill the search with symbol under cursor.
@jimxu1963
@jimxu1963 4 года назад
This video is awesome. Thanks for putting these together!
@najamawan
@najamawan 4 года назад
congrats bro :) on baby
@SuperCape
@SuperCape 4 года назад
Best vedjo so far 👏 Am having a baby girl very soon. Congrats and good luck!
@JonathanAguilarAstro
@JonathanAguilarAstro 4 года назад
Congratulations on your growing family!
@astroumi
@astroumi 4 года назад
Nice
@dalanicolai
@dalanicolai 4 года назад
Great video! I would like to mention SPC f r to search and re-open recent files also. I think you did not mention it in the video but I use it very frequently
@diegonayalazo
@diegonayalazo 2 года назад
Thanks for posting
@LinuxForLife
@LinuxForLife 4 года назад
Thank you! very interesting.
@bepolymathe5123
@bepolymathe5123 4 года назад
Congratulations ;-)
@agneshu9129
@agneshu9129 4 года назад
I really like your videos - very clear (what makes me consistently think that I should use emacs but sadly for multiple times ended up not being able to figure something out and switched back to nvim)! I heard that Spacemacs is somewhat bloated, have you consider using doom emacs? I'd also love to see programming in python with your settings and workflow for the following videos! esp with how to set up repl if possible :) Thanks and really great work!
@JackofSome
@JackofSome 4 года назад
I have tried doom a few times and I really like it but there's some very subtle differences between it and Spacemacs which keep me from diving in deeper (it's a question of how much productivity I'm willing to sacrifice to try out something new). I've been meaning to do a tutorial on Spacemacs with python, maybe it'll be soon. I'll probably also do a tutorial on VSpaceCode as an alternative to Spacemacs soon.
@agneshu9129
@agneshu9129 4 года назад
@@JackofSome wow I did not know VSpaceCode! I also like VSCode a lot for many of the extensions but it still requires using mouse and/or arrow key from time to time for navigation (even with the VIM extension) which I do not like. Would love to see how VSpaceCode could make a difference! My work has a lot to do with implementing and tuning models, so the workflow goes like selecting some pieces of code -> sending to repl for evaluation and getting results (or plots) -> modifying the code and repeat. Tried spacemacs, vscode, neovim but they all have some glitches somewhere. Still looking for solutions and hope to learn from your setting!
@JackofSome
@JackofSome 4 года назад
VSpaceCode video is up :)
@akdasa
@akdasa 4 года назад
Thanks a lot. I found a lot of useful shortcuts. Thanks to @GDQuest for sharing additional info.
@mirkovukovic6517
@mirkovukovic6517 4 года назад
Very nice video - thank you very much. Since you asked for suggestions: I am switching from plain Emacs to Spacemacs, and I am having trouble of operating in editing vs command modes (The cursor helps). Often I will find myself typing text when in command mode. Not a good idea. What I am looking for is a tutorial/video showing how a seasoned vi/vim/spacemacs user switches betwee the two while working on a file. Thanks, and best wishes with your new baby.
@JackofSome
@JackofSome 4 года назад
It's a little bit difficult to teach that aspect of things. I've been meaning to do a Vim tutorial but what it'll get you is to basics, and not really help with it becoming second nature. I would suggest thinking back to when you learned Emacs. How long did it take for you to completely transition from using the arrow keys to keeping your hands on to home row? It's gonna take similar effort here. Do some more tutorials, maybe try some of the online vim tutor things, and eventually it'll become second nature :)
@rostislavsvoboda7013
@rostislavsvoboda7013 4 года назад
12:10 you may want to remap the 'f' to: (define-key evil-normal-state-map "f" 'evil-avy-goto-char-timer)
@TheGruselmops
@TheGruselmops 4 года назад
Hey nice, where have you been Jack of Some?
@JackofSome
@JackofSome 4 года назад
Diaper duty 😅
@TheGruselmops
@TheGruselmops 4 года назад
@@JackofSome Yeah! Congratulations!
@nawaralnaami3948
@nawaralnaami3948 4 года назад
nice video thank you a small question what did you do when you press Super+o in 7:10 ??
@JackofSome
@JackofSome 4 года назад
I use i3 and put my most used windows in a scratch pad (essentially like a minimize) so I can summon them at a keypress. This was bringing up org mode so I could review my outline as in recorded.
@nawaralnaami3948
@nawaralnaami3948 4 года назад
@@JackofSome oh i thought it's a trick in emacs, I started searching in google "emacs floating windows" :)
@JackofSome
@JackofSome 4 года назад
I highly recommend checking out i3wm
@TheRealisticNihilist
@TheRealisticNihilist Год назад
How are you opening that buffer in the center that has the org file? That's really cool.
@JackofSome
@JackofSome Год назад
I use i3 window manager. It has something called a scratch pad where I can put multiple windows and "summon" them with separate keybindings
@najamawan
@najamawan 4 года назад
how can we set helm ag for space / keybind instead of helm grep. you are right its super slow and want to use helm-ag like you showed in video.
@JackofSome
@JackofSome 4 года назад
It gets set automatically if you install ag. Just search for silversearcher for your distro
@Francis-gg4rn
@Francis-gg4rn 2 года назад
spacemacs theme?
@najamawan
@najamawan 4 года назад
i am currently working with graphql. to get some syntax i use package install command and then select graphql-mode but when i restart emacs this is lost and i have to reinstall again. how to properly install packages with spacemacs any tips on that.
@JackofSome
@JackofSome 4 года назад
This is a normal Emacs package and not a layer right? Look into dotspacemacs-additional-packages
@najamawan
@najamawan 4 года назад
@@JackofSome yes normal package
@najamawan
@najamawan 4 года назад
done. i have another issue i am using in code //TODO: how can i get a todo list sidebar for full project to know what things i need to fix
Далее
Make Python code 1000x Faster with Numba
20:33
Просмотров 442 тыс.
Never Troll Shelly🫡 | Brawl Stars
00:10
Просмотров 1,1 млн
DHH discusses SQLite (and Stoicism)
54:00
Просмотров 59 тыс.
~/.dotfiles in 100 Seconds
13:54
Просмотров 415 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 996 тыс.
Python Development in Spacemacs
9:14
Просмотров 30 тыс.
The Art of Code - Dylan Beattie
1:00:49
Просмотров 4,7 млн
Five Amazing Python Libraries you should be using!
17:19