Vim yanking range of lines

Yank lines 81-91 :81,91y<enter> If your fingers don’t like to find the : and , keys, this would work as well (go to line 81, yank 11 lines) 81gg11yy My only use of g is 5gg. To go to the 5th line. 22gg: 22nd line. As jimbo said, it’s really only a modifier for some … Read more

Find and Replace within selection in `vi`

Select the text in visual mode (I assume that’s what you’re doing), then press : to start typing a command, you’ll see something like this appear in the command line: :'<,’> That means that the command will apply to the selection. Then type s/search/replace/ and hit enter. (Add a g after the third slash if … Read more

How do I exclude a folder from search in sublime text 3 permanently?

Go to the Settings menu and in the Preferences.sublime-settings file for the user and add a new node to the json named folder_exclude_patterns. In it, add the folders that you don’t want to be displayed (in json array format). Example: { // … other settings “folder_exclude_patterns”: [“node_modules”, “another_folder”], } If you want to exclude certain … Read more

How to change font size in VS Code sidebar?

Just want to add to the discussion, If you set: “window.zoomLevel”: “your number”, In my case I started with zero, you can use that as sort of a baseline: “editor.fontSize”: 14, “editor.tabSize”: 2, “terminal.integrated.fontSize”: 14, “window.zoomLevel”: 0, “[Log]”: { “editor.fontSize”: 14 }, And then tweaked until I was happy. E.g. you want to increase the … Read more

Hide hidden(dot) files in github atom editor

Edit > Preferences > Packages In the field below “Installed Packages” type: “Tree View”. This package has a few settings you can toggle, “Hide Ignored Names” is what you’re looking for. It’s a really buried setting, not sure why. You can also add it to your config: ‘tree-view’: ‘hideIgnoredNames’: true

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)