Тёмный
No video :(

The Zsh Shell Tricks I Wish I'd Known Earlier: Boost Terminal Productivity 

Cloud-Native Corner
Подписаться 1,2 тыс.
Просмотров 2,6 тыс.
50% 1

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

 

26 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@priceld5
@priceld5 28 дней назад
Great video! I appreciate that your videos go a little bit further and deeper than most "getting started" videos.
@cloud-native-corner
@cloud-native-corner 28 дней назад
Thank you! That's my goal, to help people learn something new and get excited about digital technology and capabilities it brings.
@farzadmf
@farzadmf Месяц назад
Very useful video, thank you!
@cloud-native-corner
@cloud-native-corner Месяц назад
Glad you enjoyed it!
@ebouchut
@ebouchut Месяц назад
I learned some useful tricks from your video. Thank you.
@cloud-native-corner
@cloud-native-corner Месяц назад
Thank you, I'm really glad to hear that! Is there anything else in zsh you would like to learn more about?
@ebouchut
@ebouchut Месяц назад
@@cloud-native-corner The most useful `setopt ` and how to use shell process substitution: `diff -u .zshrc
@sachajw
@sachajw Месяц назад
Excellent video! I learn't a lot!
@cloud-native-corner
@cloud-native-corner Месяц назад
Thank you! Is there any specific topic you are interested in learning more about?
@cloud-native-corner
@cloud-native-corner Месяц назад
What are your favorite zsh tricks?
@cprn.
@cprn. Месяц назад
1st of all... `bindkey -v` 😆
@cloud-native-corner
@cloud-native-corner Месяц назад
I've tried it a few times, but there were some issues with history navigation and Ctrl+n/p remaps. Sometimes I have the urge to try it again :)
@cprn.
@cprn. Месяц назад
@@cloud-native-corner Oh, I actually have these two rebound to incremental search. Will paste it in when I'm at the desk (few hours).
@cloud-native-corner
@cloud-native-corner Месяц назад
@@cprn. Thanks! I went into this rabbit hole again and in my notes found this repo: github.com/softmoth/zsh-vim-mode. It works for me and adds surround bindings and text objects.
@cprn.
@cprn. Месяц назад
@@cloud-native-corner Yeah, I know it, but honestly how often do you need surround when editing a command line... It just doesn't happen for me. I only use these 3 lines to get VIM-like line editing: ``` bindkey -v bindkey "^P" history-beginning-search-backward bindkey "^N" history-beginning-search-forward ```
@cloud-native-corner
@cloud-native-corner Месяц назад
Thank you for sharing. I actually often forget to quote https links, so now viW S' or ysiW' and viola. :)
@aftamohd
@aftamohd Месяц назад
Is that nvim? How are you using the slides … I see that it’s tmux but how r u changing the slides and ….
@cloud-native-corner
@cloud-native-corner Месяц назад
Yes, I'm using tmux for pane split and opening various files in nvim. For slides, I'm using github.com/maaslalani/slides. Rest are a few custom scripts, you can check the source code for most of my videos in this repo: github.com/Piotr1215/shorts
@tuannguyenvanquoc2670
@tuannguyenvanquoc2670 Месяц назад
how can we remember all of them, so complicated
@cloud-native-corner
@cloud-native-corner Месяц назад
One easy way I used to do it is to have a simple alias `help` which would cat/bat a markdown file with the shortcuts content. You can also use a something like `cheat` which also enables you to create your own cheatsheets files (github.com/cheat/cheat). If you use tmux you can display the content in a hoover pane and bind to a shortcut.
@ChrisCox-wv7oo
@ChrisCox-wv7oo Месяц назад
Make a short list of what you think is most interesting, refer back to that list throughout the week as you find opportunities to use features. Rinse and repeat.
@Pongo8844
@Pongo8844 Месяц назад
Best way is to use it regularly
@wojciech-kulik
@wojciech-kulik Месяц назад
Really good tricks! Btw. zsh is not a default shell on macOS :D (0:41)
@cloud-native-corner
@cloud-native-corner Месяц назад
I think they made it default since catalina: support.apple.com/en-us/102360
@wojciech-kulik
@wojciech-kulik Месяц назад
@@cloud-native-corner wow! That's suprising. I didn't know about it.
Далее
Vim Motions & Tricks I Wish I Learned Sooner
9:25
Просмотров 23 тыс.
Manage Your Dotfiles with Home Manager!
32:06
Просмотров 55 тыс.
拉了好大一坨#斗罗大陆#唐三小舞#小丑
00:11
Become a shell wizard in ~12 mins
12:25
Просмотров 242 тыс.
5 Awesome Linux Terminal Tools You Must Know
23:05
Просмотров 284 тыс.
My most used vim feature!
2:28
Просмотров 3,3 тыс.
I switched to Linux 30 days ago... How did it go?
28:46
I'm ditching Alacritty. Here's why
6:44
Просмотров 71 тыс.
Stow has forever changed the way I manage my dotfiles
8:09