Babak (@bkeyvani) 's Twitter Profile
Babak

@bkeyvani

Pythonista, Data Analyst, Web Developer, Machine Learning enthusiast / Data Scientist-to-be, Technologist, Geek, Aspiring Robotisist, & Hobbyist

ID: 19830226

linkhttp://teamluna.co/ calendar_today31-01-2009 20:37:26

1,1K Tweet

147 Followers

735 Following

VimTricks (@vim_tricks) 's Twitter Profile Photo

Did you know Vim can read and edit Zip and other archives out of the box? Works with gzip, tar, and even files that use Zip under the hood like xlsx and docx! πŸ‘‰ Read the post: bit.ly/31J7vlG πŸ“¨ Get our newsletter: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Use & in your replacement patterns to insert the matched text. For example, adding markdown links to URLs: %s/https.*/[&]()/g πŸ‘‰ Read the tip: bit.ly/35pafab πŸ“¨ Subscribe to our newsletter: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Extract lines from a file by visually selecting them and then using :w path/to/file Then reselect the last visual selection with gv and press d to delete. πŸ‘‰ Tutorial: bit.ly/36SvyAb πŸ“¨ Subscribe for weekly Vim tips: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Change case inside a substitution pattern: β€’ \U – uppercase everything after β€’ \L – lowercase β€’ \u – uppercase next char β€’ \l – lowercase β€’ \e or \E – stops changing πŸ‘‰ Read the tip: bit.ly/2Joqo78 πŸ“¨ Sign up for our Vim tips newsletter: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Use to undo all your changes in insert mode, but stay in insert mode. I like this better than using and u and then reentering insert mode. Read the tip: bit.ly/36zOCEq Subscribe for more tips like these: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Did you know you can access man pages from Vim? β€’ leader K - Press with the cursor on any word to open the man page for that command β€’ :Man command - Open that command's man page πŸ‘‰ Use cases on the blog: bit.ly/30f2aS9 πŸ“¨ More Vim tips: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Jump between methods or functions in Vim with ]m: β€’ ]m jump to beginning of next method β€’ ]M end of next β€’ [m beginning of previous β€’ [M end of previous πŸ‘‰ Read the full tip: bit.ly/31aCtDo πŸ“¨ Subscribe for weekly Vim tips: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Sort lines in Vim: β€’ :sort - sort all lines β€’ :sort! - sort in reverse β€’ :sort u - remove dupes and sort β€’ :sort i - ignore case β€’ :sort n - sort numerically πŸ‘‰ Our tutorial has more ways: bit.ly/3gxMUFm πŸ“¨ Subscribe for weekly Vim tips: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Use g; to jump back to your last change in Vim: β€’ :changes - Show list of changes β€’ g; - Jump to previous β€’ g, - Jump to next πŸ‘‰ Read the tip: bit.ly/2G0u0dL πŸ–₯️ Watch the tip: bit.ly/31zYqvM πŸ“¨ Join for weekly Vim tips: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Vim's gn command will go to the next match and select it. On the blog post, we show how to build repeatable operations by combining this with other commands. πŸ‘‰ Read the tip: bit.ly/3rUgUS3 πŸ“¨ Subscribe for more: bit.ly/vimtricks

VimTricks (@vim_tricks) 's Twitter Profile Photo

Quickly add empty lines above and below with Unimpaired πŸ‘‰ bit.ly/3aC7uDq [ + space - Add line above ] + space - Below According to our stats, this is the most hated VimTrick we've published. πŸ€·β€β™‚οΈ πŸ“¨ Subscribe for (better) #vim tips: bit.ly/vimtrickspace

VimTricks (@vim_tricks) 's Twitter Profile Photo

3 ways to delete in insert mode - build edits you can repeat with dot: β€’ ctrl-h – Delete previous char β€’ ctrl-w – Previous word β€’ ctrl-u – Entire line (except indent) πŸ‘‰ Read the tip: bit.ly/3onx4CM πŸ“¨ Subscribe for more: bit.ly/vimtricks

Adi Polak (@adipolak) 's Twitter Profile Photo

Stanford has released Prof. Manning's NLP course for free (!!!) on Youtube if you are interested in diving deeper into NLP. It starts with the very basic word2vec and expends to: -> Domain adaptation for supervised sentiment -> Retrieval augmented in-context learning ->

VimTricks (@vim_tricks) 's Twitter Profile Photo

Stay in search mode in Vim by using Ctrl-g and Ctrl-t after searching for a pattern, instead of pressing enter. Refine your pattern faster this way. Read the tip: bit.ly/2Gq6p6u Subscribe for free Vim tips: bit.ly/vimtricks