1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

Configure urxvt

This commit is contained in:
Kierán Meinhardt
2019-01-30 17:37:05 +01:00
parent 3204c97a9e
commit 36d6f65dac
6 changed files with 15 additions and 18 deletions

View File

@@ -501,13 +501,10 @@ in {
let rlwrap = cmd: "${pkgs.rlwrap}/bin/rlwrap ${cmd}"; let rlwrap = cmd: "${pkgs.rlwrap}/bin/rlwrap ${cmd}";
in { in {
o = "${pkgs.xdg_utils}/bin/xdg-open"; o = "${pkgs.xdg_utils}/bin/xdg-open";
ns = "nix-shell --command zsh";
":r" = ''echo "You stupid!"'';
clipboard = "${pkgs.xclip}/bin/xclip -se c"; clipboard = "${pkgs.xclip}/bin/xclip -se c";
ip = "${pkgs.iproute}/bin/ip -c"; ip = "${pkgs.iproute}/bin/ip -c";
ocaml = rlwrap "${pkgs.ocaml}/bin/ocaml"; ocaml = rlwrap "${pkgs.ocaml}/bin/ocaml";
tmux = "${pkgs.tmux}/bin/tmux -2"; tmux = "${pkgs.tmux}/bin/tmux -2";
nixi = ''nix repl "<nixpkgs>"'';
}; };
environment.systemPackages = lib.attrsets.attrValues scripts; environment.systemPackages = lib.attrsets.attrValues scripts;

View File

@@ -1,5 +1,11 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.shellAliases = {
ns = "nix-shell --command zsh";
":r" = ''echo "You stupid!"'';
nixi = ''nix repl "<nixpkgs>"'';
};
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin"; environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
programs.zsh = { programs.zsh = {

View File

@@ -9,8 +9,11 @@ with import ../theme.nix;
}; };
scroll.bar.enable = false; scroll.bar.enable = false;
extraConfig = { extraConfig = {
perl-ext-common = "default,clipboard,url-select,keyboard-select"; perl-ext-common = "default,clipboard,url-select,atcher";
urlLauncher = "opera";
"matcher.button" = 3;
fading = 50; fading = 50;
iso14755 = false;
urgentOnBell = true; urgentOnBell = true;
}; };
} }

View File

@@ -17,7 +17,7 @@ with import ../helpers.nix;
vim-sensible vim-sensible
vim-startify vim-startify
vim-surround vim-surround
]; ];
vimrc = '' vimrc = ''
" if tabular " if tabular
vmap a= :Tabularize /=<CR> vmap a= :Tabularize /=<CR>
@@ -34,7 +34,7 @@ with import ../helpers.nix;
set number set number
set path=$PWD/** set path=$PWD/**
set completeopt=menu,longest set completeopt=menu,longest
set wildmode=list:full set wildmode=list:full wildignore+=${commaSep config.constants.ignore}
set shortmess+=aI set shortmess+=aI
set nowritebackup noswapfile set nowritebackup noswapfile
set mouse=a set mouse=a

View File

@@ -1,6 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
/* let vimConfig = import ../../dot/vim.nix { inherit config pkgs; }; {
in */ {
imports = [ imports = [
../../configs/shells.nix ../../configs/shells.nix
]; ];
@@ -24,13 +23,6 @@ in */ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
git git
htop htop
/* (vim_configurable.customize {
name = "kvim";
vimrcConfig = {
customRC = vimConfig.vimrc;
packages.kvim.start = vimConfig.startPackages;
};
})*/
vim vim
]; ];
@@ -43,7 +35,6 @@ in */ {
createHome = true; createHome = true;
group = "users"; group = "users";
extraGroups = [ "wheel" ]; extraGroups = [ "wheel" ];
hashedPassword = "$6$w9hXyGFl/.IZBXk$5OiWzS1G.5hImhh1YQmZiCXYNAJhi3X6Y3uSLupJNYYXPLMsQpx2fwF4Xr2uYzGMV8Foqh8TgUavx1APD9rcb/";
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
} }

View File

@@ -66,8 +66,8 @@ in rec {
black = "#000000"; black = "#000000";
gray = "#888888"; gray = "#888888";
colorScheme = solarizedDark; colorScheme = macOS;
invertedColorScheme = solarizedLight; invertedColorScheme = flip macOS;
colorPalette = [ colorPalette = [
colorScheme.white.dark colorScheme.red.dark colorScheme.green.dark colorScheme.yellow.dark colorScheme.blue.dark colorScheme.magenta.dark colorScheme.cyan.dark colorScheme.black.dark colorScheme.white.dark colorScheme.red.dark colorScheme.green.dark colorScheme.yellow.dark colorScheme.blue.dark colorScheme.magenta.dark colorScheme.cyan.dark colorScheme.black.dark