Gaurami > Recent Status Updates

Showing 1-30 of 50
Gaurami
Gaurami is 42% done with PowerShell for Sysadmins: Workflow Automation Made Easy
Not all examples of CredSSP worked for me but it was usefule anyway. Started to read about Pester.
Aug 02, 2023 03:57AM Add a comment
PowerShell for Sysadmins: Workflow Automation Made Easy

Gaurami
Gaurami is 40% done with PowerShell for Sysadmins: Workflow Automation Made Easy
Interesting example of authorization on a remote machine using CredSSP
Aug 01, 2023 01:40AM Add a comment
PowerShell for Sysadmins: Workflow Automation Made Easy

Gaurami
Gaurami is 38% done with PowerShell for Sysadmins: Workflow Automation Made Easy
Создание удаленной сессии. Очень хорошая штука.
Jul 25, 2023 04:52AM Add a comment
PowerShell for Sysadmins: Workflow Automation Made Easy

Gaurami
Gaurami is 37% done with PowerShell for Sysadmins: Workflow Automation Made Easy
Начал читать с 8-ой главы – автор разрешил, как опытному пользователю)
Jul 24, 2023 04:23AM Add a comment
PowerShell for Sysadmins: Workflow Automation Made Easy

Gaurami
Gaurami is 94% done with Practical Vim: Edit Text at the Speed of Thought
Tip 118. I've become quite a confident with Vim, don't need to consult with the book too often and as a result I hold over the book for a week or so. Today I reread the tips on words-autocompletion. Tip 117 (Autocomplete Sequences of Words) is quit useful.
Jul 21, 2023 04:09AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 77% done with Practical Vim: Edit Text at the Speed of Thought
Substitution
:& (ampersand) – reuse prev subst.
:&& (double ampersand) – reuse prev subst. and keys in the current line
:g& = :%&&
Jul 02, 2023 07:54PM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 72% done with Practical Vim: Edit Text at the Speed of Thought
Read about search patterns. Eager to try those "very magic"/"very no magic" modes with offsets but don't have my laptop at hand.
Jun 30, 2023 09:46AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 60% done with Practical Vim: Edit Text at the Speed of Thought
Tip 71. Macros.
Execute in series ("22") or in parallel.
Append a command ("qA")
Apply to several files (:argdo normal @a)
Jun 24, 2023 09:57AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 55% done with Practical Vim: Edit Text at the Speed of Thought
Tip 64. Paste and togglepaste. Couldn't figure out how to make ctrl-v and its alternatives work. Register "0 is the best.
Jun 24, 2023 04:24AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 55% done with Practical Vim: Edit Text at the Speed of Thought
Tip 63.
\{reg} – in Insert mode past from register (" - unnamed, 0 - yank)
gp, gP – more useful than just p/P because leave the cursor at the end of the pasted text

Tip 64. Interact with the sys. clipboard.
:set autoindent
To avoid surprises, :set paste before and disable after addressing the sys. clipboard.
:set pastetoggle=\
Jun 19, 2023 04:17AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 51% done with Practical Vim: Edit Text at the Speed of Thought
Tip 61-62
"0 – yank register
In visual mode p "swaps" selected text and the text in the unnamed register – bug or feature?
Jun 16, 2023 09:15PM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 51% done with Practical Vim: Edit Text at the Speed of Thought
Tip 60. {continue}
:reg{isters}
:reg "0 – check the yank register
"+ – system clipboard
"* – X11 primary last mouse selection
"= – expressions reg.
read-only regs: % (file name), : (last Ex command), / (last search pattern)
Jun 14, 2023 04:29AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 50% done with Practical Vim: Edit Text at the Speed of Thought
Tip 58. m{Capital Letter} – global label. Develop a habit of setting global labels before using :vimgrep, :make and others.

Part IV. Registers. Chapter 10.

Tip 59. Del, copy, insert.
xp – swap symbols
ddp – swap lines
P – insert before the cursor

Tip 60. Get familiar with registers
delete/yank/put
"{register} – specify register
_ – "black-hole register"
"_d{motion}
Ex equivalents:
:delete c/:put c
0 – yank reg.
Jun 14, 2023 04:22AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 48% done with Practical Vim: Edit Text at the Speed of Thought
Tip 55. jumps list.
:jumps, -
hjklwWbB - not jumps

Tip 56. changes list.
:changes, g;-g,
`. – last change label (in place of dirty hack u)
`^ – location of the exit from Insert mode
gi – return to editing

Tip 57. go to file under cursor
gf
suffixesadd
:set suffixesadd+=.rb
:set path?
– to definition?
Jun 13, 2023 04:50AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 46% done with Practical Vim: Edit Text at the Speed of Thought
Tip 54. Labels:
mm – set label 'm'
`m – jump to label 'm'
`` – jump to the previous position

Tip 55. Move between pair of brackets.
Use the combination of '%' and '``'.
Enable plugin 'matchit' in .vimrc (check help).
Install plugin surround.vim:
https://github.com/tpope/vim-surround
Jun 09, 2023 10:21AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is on page 131 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 52. Text objects. Precise selection.
Prefixes 'i' and 'a':
i} – inside {...}
a> – inclusive section of <...>
Tip 53. iw – inside word object. 's' – for a sentence, 'p' – for a paragraph
Jun 09, 2023 06:37AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 43% done with Practical Vim: Edit Text at the Speed of Thought
Tip 48. words and WORDS – the 1st and the 2nd gears.
Tip 49. searching chars. – "namespace" for user-defined keys ('\' by default). f(t) and F(T) to search a character, ';' – repeat, ',' – undo. Train to search for rare characters.
Tip 50. search to navigate. Global search '/', 'n' – repeat, 'N' – retract.
Jun 07, 2023 05:51AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 41% done with Practical Vim: Edit Text at the Speed of Thought
Tip 44-45. Saving files
- status
:!mkdir -p %:h – to create a non-existing hierarchy of dirs
:w !sudo tee % > /dev/null – save changes in file requiring super-user access
Part III. Quick navigation. Tip 46-47
Keep fingers in the basic position
The screen lines (gj, gk) and the factual lines (j, k) are different
Jun 06, 2023 09:49AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is on page 107 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 44: use netrw plugin to explore the file system.
min config:
set nocompatible
filetype plugin on
just open (:e) a directory in place of a file.
:E(xplore), :S(explore), :V(explore)
Went to watch episode 15 on Vimcasts.
Jun 05, 2023 03:47AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 75% done with Западня (Навия, #1)
"... если бы я не полюбил еще в детстве, то навсегда остался бы одинок. Потому что не умею понимать любовные знаки, такой уж уродился."
Jun 04, 2023 09:39AM Add a comment
Западня (Навия, #1)

Gaurami
Gaurami is 37% done with Practical Vim: Edit Text at the Speed of Thought
Tip 41-42: opening and saving files
:edit %:h - expand the directory of the curr. buffer
:find - to set up the search path us :set path+=app/**
** - group symbol
May 31, 2023 07:55PM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is on page 97 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 40-41: dividing a workspace into split windows and organizing the window layouts with tab pages.
s, v - splitting
= - equalize win. height and width
T - move win. to a new tab
gt - next tab
gT - prev. tab
May 29, 2023 04:06AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 34% done with Practical Vim: Edit Text at the Speed of Thought
Chapter 6. Buffers. Tip 37-38
:ls, :nb (next buffer), :pb, :db N1, N2 (delete buffers), :bfirst, :blast, :bufdo
set hidden - enables silent switching modified buffers

Arguments:
:args (see or set args), :next, :prev, :argdo

Remapping:
nnoremap [b :bprevious
...
May 25, 2023 08:10AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 31% done with Practical Vim: Edit Text at the Speed of Thought
Ctrl-z – suspend Vim task. Analog of Vim's Ex cmd :shell
jobs – see the list of jobs (including the suspended)
fg – resume job (bash).
% – the name of the current file
:h rename-files – good example.
!G (in Normal mode) – prepare command line for filtering
May 23, 2023 05:03AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is on page 72 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 34: Recall Commands from History.
q: – open Command-line-window
– execute the current command
– continue in Command-line mode
May 22, 2023 04:20AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is on page 69 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 32-33: – tab-comletion of Ex commands. – insert current word at the prompt.

Inserting at the prompt is usefull when there is need to check documentation on some option in vimrc. By the way to find the location of the file on Windows:

vim --version | grep vimrc
May 21, 2023 06:51AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is on page 66 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 29-30: Ex command `:norm ` applies the passed command to each line in a region, while `@:` repeats the last Ex command (`@@` repeats the last use of `@:`).

Beautiful! It's so easy to become a geek when you use Vim...
May 18, 2023 08:35PM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 70% done with Западня (Навия, #1)
"Если ты в самом деле любишь ее, то защити любым возможным способом. ... Скорее всего, ты погибнешь, но для Даны это единственный шанс уцелеть."
May 18, 2023 08:08AM Add a comment
Западня (Навия, #1)

Gaurami
Gaurami is on page 61 of 300 of Practical Vim: Edit Text at the Speed of Thought
Tip 29. The shorthand for command `:copy` it `:t`. Funny.
May 17, 2023 08:28AM Add a comment
Practical Vim: Edit Text at the Speed of Thought

Gaurami
Gaurami is 66% done with Западня (Навия, #1)
Хоть я и не перестал думать, что автор затянула первую книгу, все же фабулу я оценил. Конечно же, повесть написана для подростков, и отсылки к "странным" ограничениям, которые "поймешь, когда вырастешь", очень хорошо работают.
May 16, 2023 07:28PM Add a comment
Западня (Навия, #1)

« previous 1
Follow Gaurami's updates via RSS