Tweetovi
- Tweetovi, trenutna stranica.
- Tweetovi i odgovori
- Medijski sadržaj
Blokirali ste korisnika/cu @learnvim
Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @learnvim
-
If you want to get word count on your file, you can just do g + Ctrl-g (Also gives Column, line, and byte info)
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
To replace a string/pattern inside a specific file extension, you can do: :argdo **/*.yourExtension qq :%s/oldPattern/newPattern/ge :wnext q 999@q This will replace every single occurrence of 'oldPattern' with 'newPattern' inside all files that ends with '.yourExtension'
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
You can create shortcut to quickly get directory of the file you're working on: nnoremap <Leader>bp :let @+=expand("%:p")<CR> This will copy the path to clipboard.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Vim fugitive ((https://github.com/tpope/vim-fugitive …) is one of the best plugins. Ever. Here is one great resource to learn it! http://vimcasts.org/blog/2011/05/the-fugitive-series/ …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Whenever I have a quick config change, I just fire <Leader>ve -> make edit -> save -> <Leader>vs -> back to whatever I was doing before :)
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Cool trick I learned a while ago to quickly edit vimrc on fly: if !has('nvim') nnoremap <Leader>vs :source $MYVIMRC<CR> nnoremap <Leader>ve :vsplit $MYVIMRC<CR> elseif has('nvim') nnoremap <Leader>vs :source ~/.vimrc<CR> nnoremap <Leader>ve :vsplit ~/.vimrc<CR> endif
Prikaži ovu nitHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Vim users, do you use tmux? Here is a really good book on Tmux (not affiliated, just a happy fan): https://pragprog.com/book/bhtmux2/tmux-2 … It changed a lot of my workflow.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
I hop the user knows how to exit it!
:qhttps://www.reddit.com/r/linuxmasterrace/comments/eqf5zi/this_electric_scooter_runs_on_vim/ …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
If you edit markdown often, you might find https://github.com/shime/vim-livedown … useful. It allows you to view livedown on local server. - Install plugin + livedown npm - :LivedownToggle - done!

livedown:https://github.com/shime/vim-livedown …Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
When searching with / you can use regex too! For example, if you're looking for all digits followed with dot (ex: 1., 2., 3., etc) 1. some text 2. more text 3. even more text You can do /\d\. Or if you have more than single digits, do /\v(\d)+\.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Learn Vim proslijedio/la je Tweet
We'll focus on z today. I see z used most often with code folding and spell checking. Let's look at folds: zo, zO, zc, zC, za, zA open, close, and toggle the fold under cursor, with the capital letter meaning all folds under cursor recursively See :h fold
#learnvimdaily#vimHvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Good vim overview videos - has some neat tips!https://www.youtube.com/watch?v=MquaityA1SM …
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Use Vim's spellchecking ability to detect typos! :set spell spelllang=en_us It will highlight all misspellings. You can also jump to next misspelled words with either ]s or [s
#vim#neovimpic.twitter.com/kQ3Kr72yEk
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Using Vim for creative writing?


Check out Goyo (https://github.com/junegunn/goyo.vim …).
I used this when I am not writing code.pic.twitter.com/JxqevRVjUP
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Picking up from yesterday: Notice Bill Joy's ESC key is on the left side of keyboard, not top left like modern keyboard. This is why it feels unnatural for our finger to reach ESC key. Personally I map my ESC to Caps Lock, to emulate original Vi's experience
pic.twitter.com/dSOyp99d75
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Do you ever wonder why vim uses `hjkl` to move around? Bill Joy, vi creator, uses ADM-3A terminal. It has keyboard with arrows on it. Naturally `hjkl` is used as left/down/up/right. Source: https://catonmat.net/why-vim-uses-hjkl-as-arrow-keys … https://en.m.wikipedia.org/wiki/ADM-3A pic.twitter.com/eo8uT5dslX
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi -
A very important text-editor feature is searching
. I have been using FZF for a while and it has been awesome.
You can pair FZF with code-searching tools like the_silver_searcher or ripgrep!
https://github.com/junegunn/fzf.vim …
https://github.com/ggreer/the_silver_searcher …
https://github.com/BurntSushi/ripgrep …pic.twitter.com/ytP0Abh9xK
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
