Git Product home page Git Product logo

dotfiles's Introduction

dotfiles

tmux

Create symlink to tmux config

cd ~
ln -s dotfiles/.tmux.conf .tmux.conf

Reload new config file (ctrl-b is default tmux prefix)

:source-file ~/.tmux.conf

fish

Symlink to fish config and the plugins

cd ~
ln -s ~/dotfiles/fish/config.fish ~/.config/fish/config.fish
ln -s ~/dotfiles/fish/fish_plugins ~/.config/fish/fish_plugins

NOTE: Not using the full path can fail to create the correct symlink. It is therefore important to use the "~/" at the start of the path in the ln command. This gets expanded by the shell to the full path.

Load new fish config with:

source ~/.config/fish/config.fish

Install fisher plugin. Run fisher update to install plugins listed in fish_plugins.

fisher update

emacs

Copy the .emacs.d/init_local.el file from this repo to ~/.emacs.d/init.el and configure the values for the local system paths.

Fonts

Install the preferred font: Consolas NF. Update: I now prefer JetBrains Mono. (Ubunutu font install: Copy the font to the ~/.fonts directory)

To get additional icons working I also had to execute all-the-icons-install-fonts and nerd-icons-install-fonts command and manually install the fonts it downloaded (it asks you where to save the downloaded fonts).

For variable width fonts, install (ET Bembo)[https://github.com/DavidBarts/ET_Bembo] Font.

Dependencies

ripgrep fd gnuplot graphviz plantuml

Enabling emacs auto-commit

As a file-local variable

Set a file local variable (requires Emacs 24 or newer)

;; -*- eval: (git-auto-commit-mode 1) -*-

As a directory-local variable

Create a .dir-locals.el file in the directory where you want git-auto-commit-mode to be enabled. This will also apply to any subdirectories, so be careful. For more information see the [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html#Directory-Variables][Per-Directory Local Variables]] section in the Emacs manual. Then put one of the following snippets of code in there:

(requires Emacs 24 or newer)

((nil . ((eval git-auto-commit-mode 1))))

As a hook

To enable git-auto-commit-mode each time a certain-hook runs:

(add-hook 'certain-hook 'git-auto-commit-mode)

OS Config

Remap caps lock to control

Windows

Run the Windows\remap_caps_to_ctrl.reg regisrty editor script.

Windows PowerToys can be used to do this as well, but I have found the registry editor script to be more reliable.

Ubuntu

Install gnome-tweak-tool

sudo apt install gnome-tweaks

Launch Tweaks Keyboard & Mouse -> Additional Layout Options -> Caps Lock behavior -> Make Caps Lock and additional Ctrl

dotfiles's People

Contributors

smantzavinos avatar smantzavinos-globus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.