anywheregasil.blogg.se

Iterm2 shortcuts
Iterm2 shortcuts










  1. ITERM2 SHORTCUTS INSTALL
  2. ITERM2 SHORTCUTS SOFTWARE
  3. ITERM2 SHORTCUTS CODE

My original post is still very much valid and most of the shortcuts I have copied over and work just fine. I have been trying to get better with this instead of just defaulting to PowerShell but the data manipulation and objects that Pwsh provides it’s a tough ask. So I have written already about how I use AzureCLI & PowerShell together but I was also made aware of jq which I suppose is similar to how I would normally use ConvertFrom-Json or ConvertFrom-Json. You need to check it out if you haven’t already. I use Azure functions a lot, both PowerShell and C# and being able to develop these in a container without having to have the Az Functions Core tools or npm or any of the extensions installed locally is a dream. The above post covers pretty much everything you need to get started with that but using docker as a development enviroment has been a game changer.

ITERM2 SHORTCUTS CODE

I wrote about Developing Pwsh Azure Functions inside a Container some time ago and it was really my my first foray into using docker as a daily tool but this is now how I work every day for most of the repositories and code that I write. I have updated the gist of my profile here. DefaultPromptSuffix = $ ( '`n❯❯ ' * ( $nestedPromptLevel + 1 )) # This is to prevent an issue where iterm2 throws an error every time the prompt is run if ( $ env : LC_TERMINAL -eq "iTerm2" ) DefaultPromptAbbreviateHomeDirectory = $true $GitPromptSettings. Import-Module posh-git Import-Module oh-my-posh $gitpromptsettings. The other two aliases are pretty self-explanatory. There are a few things that I have had to add to make my life easier when switching between bash/zsh and PowerShell so that I have consistent commands available to me.Ĭls is too engrained and quicker to type so that has to go in there. I also tend to stick to bash for Azure CLI too for the tab completion and speed it offers. I am now finding that I am using zsh as a primary shell over PowerShell for day to day interaction especially when interacting with git. I have not really played around with this beyond my initial setup which I am quite happy with. I am using PowerLevel9k for my theme which offers some nice customisations. This has changed slightly as I am now on MacOS in the fact that I am now running two different profiles for bash/zsh and one for PowerShell. It comes bundled with thousands of helpful functions, helpers, plugins & themes. Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. There are probably more but these are the ones I can remember adding. Move End of Selection Forward -> Move by Word ITerm2 > Preferences > Profiles > Keys Key Combination The rest of my keyboard shortcuts are listed below (that I can remember adding).

iterm2 shortcuts iterm2 shortcuts

Pressing ESC to clear the whole line in the terminal which is familiar behaviour for me and one of the muscle memory options that I want to keep.

ITERM2 SHORTCUTS INSTALL

You can install homebrew from the command line too!Įcho "set completion-ignore-case On" > ~/.inputrc

iterm2 shortcuts

ITERM2 SHORTCUTS SOFTWARE

Switching from Windows where I used Chocolatey for my software installation needs, I had heard about homebrew and was keen to make a start with using a decent package manager from the start.

  • Make the dock appear faster when using auto hide.
  • Unfortunately I do have to keep an Azure VM handy for the very odd ocassion that I may need something Windows specific. The multiple desktops and the trackpad/gestures is an awesome experience. I thought the switch to MacOS was going to be more difficult than it initially was but once I sorted my muscle memory out (mainly for copy and paste) it was a pretty seamless transition. Some stuff won’t have changed too much because, well….there was no need but my way of working has shifted slightly and I spend more time with a split terminal between bash and PowerShell. I have since moved from a Windows laptop to MacOS so I wanted to make a note of customisations and changes so I had a place to track all of them but other people may also find some of them handy. I previously wrote a post on this which was very popular as I tried to document all of my productivity hacks and shortcuts that I use on a daily basis to assist in writing PowerShell.












    Iterm2 shortcuts