-
Open clickable text in a new window:
C-u RET -
Insert multile of same char:
C-u 8 *to insert 8 of * -
Delete till the end of the line:
C-k -
Delete till the end of a sentence:
M-k -
Delete word after the cursor:
M-d -
Open file in new window:
C-x 4 C-f filename
| /* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
| This file remaps the key bindings of a single user on Mac OS X 10.5 to more closely | |
| match default behavior on Windows systems. | |
| You must log out and back in to see these changes. | |
| Here is a rough cheatsheet for syntax. | |
| Key Modifiers | |
| ^ : Ctrl | |
| $ : Shift |
In penance for cracking stupid jokes on Twitter, here's my Emacs cheat sheet. Emacs has a steep learning curve, so I've tried to order them by importance so you could learn them in stages.
One overall rule of thumb: pay attention to the minibuffer (the line at the bottom of the editor). It will often guide you through a process, and also gives you hints about what state you're in, such as the middle of a multi-chord sequence.
The other rule of thumb: when in doubt, C-g it out.
You simply can't get by without having these at your fingertips.
- Install neovim
- Run to get plug installer
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
- Create .vimrc in homedir
- Insert into beginning of .vimrc this line:
call plug#begin('~/.local/share/nvim/plugged')
Building libtorrent for Linux requires Boost.Python to be built separately, while on Mac and Windows Boost.Python is integratind in libtorrent.
Pre-requisites: 1. Installed python 3.7
- Download boost
- Unpack to ~/boost for convenience
- Run ~/boost/boostsrap.sh.
Libtorrent version 1.2.0 Python 3.7.2 Boost 1.69.0
- installing python 3.7.2
- Downloading libtorrent source
- Downloading boost and unpacking it for convenience to ~/boost, such that bootstrap.sh would be in ~/boost/bootstrap.sh
- Running ~/boost/bootstrap.sh
- Copy files "b2" and "bjam" from ~/boost to /usr/local/bin
(NB: adapted from this Ask Ubuntu thread -- tested to work with Ubuntu 16 LTS branches and Ubuntu 17.10)
Unlike using VMWare Tools to enable Linux guest capabilities, the open-vm-tools package doesn't auto-mount shared VMWare folders. This can be frustrating in various ways, but there's an easy fix.
Install open-vm-tools and run:
sudo mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other
A DMG Installer is convenient way to provide end-users a simple way to install an application bundle. They are basically a folder with a shortcut to the Applications directory but they can be customized with icons, backgrounds, and layout properties. A DMG file (.dmg) is a Mac OS X Disk Image file and it is used to package files or folders providing compression, encryption, and read-only to the package.
##Creating the DMG file #Disk Utility