fix(wpcarro/simple_vim): Debug simple_vim
No need to `mkDerivation` when I'm already using `writeShellScriptBin`. Also: prefer `<CR>` instead of `<Enter>` for consistency reasons. Change-Id: Ida8ecec0bd4e3e8c0fbb1ea34eefd61a0fefb4bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/4797 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com>
This commit is contained in:
parent
54d3cc78dd
commit
4977ffacb0
2 changed files with 9 additions and 15 deletions
|
|
@ -1,11 +1,5 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
configVim = builtins.path {
|
||||
path = ./config.vim;
|
||||
name = "config.vim";
|
||||
};
|
||||
|
||||
in pkgs.writeShellScriptBin "simple_vim" ''
|
||||
${pkgs.vim}/bin/vim -u ${configVim}
|
||||
pkgs.writeShellScriptBin "simple_vim" ''
|
||||
${pkgs.neovim}/bin/nvim -u ${./config.vim} $@
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue