Aspiring vim-like text editor

Related tags

Text editors rim
Overview

Rim

Rim is an aspiring Vim-like text editor written in Rust.

Screenshot

Current state

Rim is in an early prototype stage. This means that you can load, edit and save files, and hopefully do so relatively comfortably if Vim is what you are used to. In particular some of the simpler commands for insertion and deletion as well as window and buffer navigation has been implemented and bound to the expected key strokes.

Try it out

Simply clone and cargo run.

Note: Some key bindings are for testing purposes only, and some may not work exactly as you would expect them to.

Window navigation

  • <C-w>v/<C-w>s - Split focused window
  • <C-w>c - Close focused window
  • <C-w> h/j/k/l - Move window focus left/down/up/right
  • n/N - Move window focus forward/backward in window order (for testing)
  • (<C->) y/u - Resize focused window (for testing)
  • <C-w>= - Reset window sizes

Buffer navigation

  • h/j/k/l/Arrow keys - Move caret
  • Home/0 - Move caret to start of line
  • End/$ - Move caret to end of line
  • PageUp/<C-b> - Scroll view up by window's length
  • PageDown/<C-f> - Scroll view down by window's length
  • <C-u> - Scroll view up by half of window's length
  • <C-d> - Scroll view down by half of window's length
  • gg - Go to first line
  • G - Go to last line
  • Space in normal mode - move caret forward across line boundaries
  • Backspace in normal mode - move caret backward across line boundaries

Insertion

  • i - Enter insert mode
  • I - Enter insert mode at start of line
  • a - Enter insert mode after caret
  • A - Enter insert mode at end of line
  • o - Enter insert mode at a new line under the current line
  • O - Enter insert mode at a new line above the current line
  • Escape - Exit insert mode

Deletion

  • dd - Delete line
  • D - Delete rest of line
  • C - Delete rest of line and enter insert mode
  • x - Delete character under the cursor
  • X - Delete character behind the cursor
  • r - Replace character under the cursor
  • R - Replace character on the line

Misc / For testing until a proper command line is implemented

  • F1-F4 - Load some buffers
  • :qa<Enter> - Quit
  • :q<Enter> - Close window and quit if it's the last one
  • :w<Enter> - Write buffer to file
Comments
  • Upgraded dependencies and fixed all warnings

    Upgraded dependencies and fixed all warnings

    I'm not sure about the error messages I inserted. The reason, I inserted them is because send() seems to produce a Result<..> which has to be handled. If you tell me what the error messages should be, I can change them.

    opened by sphinxc0re 23
  • Implementation New closing

    Implementation New closing "method"

    In vim we have three commands for "exiting":

    :qa - quits the program (Cmd::Quit) :clo - close current window, if it isn't the last (Cmd::CloseWindow) :q - close current window, and quits program if it's the last (Not yet implemented?)

    I'd like to offer to implement the ":q" in rim. (I'd be starting with something easy) What do you think?

    opened by diogovk 7
  • what is this error? How can I solve this?

    what is this error? How can I solve this?

    rim(github)$ cargo run
        Updating registry `https://github.com/rust-lang/crates.io-index`
        Updating git repository `git://github.com/mathall/termkey-rs.git`
     Downloading gcc v0.1.7
     Downloading libc v0.1.1
     Downloading time v0.1.15
     Downloading rustc-serialize v0.2.11
     Downloading uuid v0.1.9
     Downloading bitflags v0.1.0
       Compiling termkey v0.17.5 (git://github.com/mathall/termkey-rs.git#8394ba8c)
       Compiling rustc-serialize v0.2.11
       Compiling libc v0.1.1
       Compiling bitflags v0.1.0
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 error: no_std is experimental
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
                                                                                                     ^~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 help: add #![feature(no_std)] to the crate attributes to enable
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
                                                                                                     ^~~~~~~~~~
    error: aborting due to previous error
       Compiling gcc v0.1.7
    Build failed, waiting for other jobs to finish...
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: use of undeclared type name `path::posix::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: use of undeclared type name `path::posix::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548     fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: use of undeclared type name `path::posix::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548     fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550         Ok(path::posix::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: unresolved name `path::posix::Path::new`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550         Ok(path::posix::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: use of undeclared type name `path::windows::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: use of undeclared type name `path::windows::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561     fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: use of undeclared type name `path::windows::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561     fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563         Ok(path::windows::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: unresolved name `path::windows::Path::new`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563         Ok(path::windows::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
    error: aborting due to 16 previous errors
    Could not compile `libc`.
    
    To learn more, run the command again with --verbose.
    (expedia)rim(github)$ v .
    (expedia)rim(github)$ cargo run --verbose
           Fresh gcc v0.1.7
       Compiling rustc-serialize v0.2.11
         Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/lib.rs --crate-name rustc-serialize --crate-type lib -g -C metadata=285c9bed5802d3eb -C extra-filename=-285c9bed5802d3eb --out-dir /Users/yo1/other-code/code-reading/rim/target/deps --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -Awarnings`
           Fresh bitflags v0.1.0
       Compiling termkey v0.17.5 (git://github.com/mathall/termkey-rs.git#8394ba8c)
         Running `/Users/yo1/other-code/code-reading/rim/target/build/termkey-bd5d741c95aaea0b/build-script-build`
       Compiling libc v0.1.1
         Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="default" --cfg feature="cargo-build" -C metadata=6b537f2898b2a028 -C extra-filename=-6b537f2898b2a028 --out-dir /Users/yo1/other-code/code-reading/rim/target/deps --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -Awarnings`
       Compiling time v0.1.15
         Running `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.15/build.rs --crate-name build-script-build --crate-type bin -C prefer-dynamic -g --out-dir /Users/yo1/other-code/code-reading/rim/target/build/time-2215e3ac75eaa2c7 --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps --extern gcc=/Users/yo1/other-code/code-reading/rim/target/deps/libgcc-3361713823cacea0.rlib -Awarnings`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 error: no_std is experimental
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
                                                                                                     ^~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19:1: 19:11 help: add #![feature(no_std)] to the crate attributes to enable
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs:19 #![no_std]
                                                                                                     ^~~~~~~~~~
    error: aborting due to previous error
    Build failed, waiting for other jobs to finish...
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541:20: 541:37 error: use of undeclared type name `path::posix::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:541 impl Encodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547:20: 547:37 error: use of undeclared type name `path::posix::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:547 impl Decodable for path::posix::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548     fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548:48: 548:65 error: use of undeclared type name `path::posix::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:548     fn decode<D: Decoder>(d: &mut D) -> Result<path::posix::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: failed to resolve. Could not find `posix` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550         Ok(path::posix::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550:12: 550:34 error: unresolved name `path::posix::Path::new`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:550         Ok(path::posix::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554:20: 554:39 error: use of undeclared type name `path::windows::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:554 impl Encodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560:20: 560:39 error: use of undeclared type name `path::windows::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:560 impl Decodable for path::windows::Path {
                                                                                                                              ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561     fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561:48: 561:67 error: use of undeclared type name `path::windows::Path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:561     fn decode<D: Decoder>(d: &mut D) -> Result<path::windows::Path, D::Error> {
                                                                                                                                                          ^~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: failed to resolve. Could not find `windows` in `std::path`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563         Ok(path::windows::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563:12: 563:36 error: unresolved name `path::windows::Path::new`
    /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.2.11/src/serialize.rs:563         Ok(path::windows::Path::new(bytes))
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~
    error: aborting due to 16 previous errors
    Could not compile `libc`.
    
    Caused by:
      Process didn't exit successfully: `rustc /Users/yo1/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.1.1/rust/src/liblibc/lib.rs --crate-name libc --crate-type lib -g --cfg feature="default" --cfg feature="cargo-build" -C metadata=6b537f2898b2a028 -C extra-filename=-6b537f2898b2a028 --out-dir /Users/yo1/other-code/code-reading/rim/target/deps --emit=dep-info,link -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -L dependency=/Users/yo1/other-code/code-reading/rim/target/deps -Awarnings` (status=101)
    
    opened by thisiswei 7
  • Project don't run with cargo

    Project don't run with cargo

    This project don't run or compile with cargo (cargo 0.15.0-nightly (298a012 2016-12-20) ) and rustc (rustc 1.14.0 (e8a012324 2016-12-16) )

    We receive that message below:

        Compiling rim v0.0.1 (file:///home/flavio/bin/rim)
    error[E0554]: #[feature] may not be used on the stable release channel
     --> src/rim.rs:9:1
      |
    9 | #![feature(mpsc_select)]
      | ^^^^^^^^^^^^^^^^^^^^^^^^
    
    error[E0554]: #[feature] may not be used on the stable release channel
      --> src/rim.rs:10:1
       |
    10 | #![feature(slice_patterns)]
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    error: aborting due to 2 previous errors
    
    error: Could not compile `rim`.
    
    To learn more, run the command again with --verbose.
    
    opened by flaviogranato 4
  • Fails to build on openSUSE/Tumbleweed

    Fails to build on openSUSE/Tumbleweed

    rim@stitny (github)$ RUST_BACKTRACE=1 cargo run -v
       Compiling libc v0.2.36
       Compiling cfg-if v0.1.2
       Compiling unicode-xid v0.0.4
       Compiling void v1.0.2
       Compiling quote v0.3.15
       Compiling slab v0.3.0
       Compiling byteorder v1.2.1
       Compiling futures v0.1.18
         Running `rustc --crate-name libc /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.36/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=51f2adca85c28c30 -C extra-filename=-51f2adca85c28c30 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name cfg_if /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/cfg-if-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=949acc113fb2fa42 -C extra-filename=-949acc113fb2fa42 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name void /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/void-1.0.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=7e828011a7a4dfe2 -C extra-filename=-7e828011a7a4dfe2 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name unicode_xid /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-xid-0.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=c54f041e3818a1e0 -C extra-filename=-c54f041e3818a1e0 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name quote /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/quote-0.3.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=962b1ed417002d01 -C extra-filename=-962b1ed417002d01 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name slab /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=856a8ca78598f130 -C extra-filename=-856a8ca78598f130 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name byteorder /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a2d9e2fd9e8a3e2b -C extra-filename=-a2d9e2fd9e8a3e2b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
         Running `rustc --crate-name futures /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/futures-0.1.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=87269fb860aa9370 -C extra-filename=-87269fb860aa9370 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling lazy_static v1.0.0
         Running `rustc --crate-name lazy_static /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=ecff4316c4748b54 -C extra-filename=-ecff4316c4748b54 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling termkey-rs v0.17.0 (git://github.com/mathall/termkey-rs.git#604a310b)
         Running `rustc --crate-name build_script_build /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/build.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=92335833a1bfa211 -C extra-filename=-92335833a1bfa211 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/build/termkey-rs-92335833a1bfa211 -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling utf8-ranges v1.0.0
         Running `rustc --crate-name utf8_ranges /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=0c5181e77282f922 -C extra-filename=-0c5181e77282f922 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling lazycell v0.6.0
         Running `rustc --crate-name lazycell /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/lazycell-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=663adc702a7880f3 -C extra-filename=-663adc702a7880f3 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling regex-syntax v0.4.2
         Running `rustc --crate-name regex_syntax /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=1eb387de24553362 -C extra-filename=-1eb387de24553362 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling slab v0.4.0
         Running `rustc --crate-name slab /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/slab-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b7bef2c79dd6524c -C extra-filename=-b7bef2c79dd6524c --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling scoped-tls v0.1.0
         Running `rustc --crate-name scoped_tls /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a4ee3761c50f2e05 -C extra-filename=-a4ee3761c50f2e05 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling strsim v0.6.0
         Running `rustc --crate-name strsim /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/strsim-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=b83d34ae8dacb88d -C extra-filename=-b83d34ae8dacb88d --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling bitflags v0.5.0
         Running `rustc --crate-name bitflags /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=cf9faf29cc51e389 -C extra-filename=-cf9faf29cc51e389 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling serde v1.0.27
         Running `rustc --crate-name serde /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-1.0.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=eaaa36f21bdf2927 -C extra-filename=-eaaa36f21bdf2927 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling vec_map v0.8.0
         Running `rustc --crate-name vec_map /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=4418fb7d467aa148 -C extra-filename=-4418fb7d467aa148 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling unicode-width v0.1.4
         Running `rustc --crate-name unicode_width /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=8d1fb24dc1b8a6d0 -C extra-filename=-8d1fb24dc1b8a6d0 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling term v0.4.6
         Running `rustc --crate-name term /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/term-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=0d2c1ea9b2b154d2 -C extra-filename=-0d2c1ea9b2b154d2 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling bitflags v1.0.1
         Running `rustc --crate-name bitflags /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-1.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="example_generated"' -C metadata=a64879c5d1422838 -C extra-filename=-a64879c5d1422838 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --cap-lints allow`
       Compiling log v0.4.1
         Running `rustc --crate-name log /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="std"' -C metadata=30fe4fd8c0ea0438 -C extra-filename=-30fe4fd8c0ea0438 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern cfg_if=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libcfg_if-949acc113fb2fa42.rmeta --cap-lints allow`
       Compiling unreachable v1.0.0
         Running `rustc --crate-name unreachable /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/unreachable-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=78fa5edefa3ddeae -C extra-filename=-78fa5edefa3ddeae --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern void=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libvoid-7e828011a7a4dfe2.rmeta --cap-lints allow`
       Compiling synom v0.11.3
         Running `rustc --crate-name synom /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/synom-0.11.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=111cd58408bf16ff -C extra-filename=-111cd58408bf16ff --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern unicode_xid=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunicode_xid-c54f041e3818a1e0.rmeta --cap-lints allow`
         Running `/home/matej/archiv/knihovna/repos/rim/target/debug/build/termkey-rs-92335833a1bfa211/build-script-build`
       Compiling iovec v0.1.2
         Running `rustc --crate-name iovec /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/iovec-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=93864d41c1629d0e -C extra-filename=-93864d41c1629d0e --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
       Compiling memchr v2.0.1
         Running `rustc --crate-name memchr /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-2.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="use_std"' -C metadata=8f5ff63a0a5527e2 -C extra-filename=-8f5ff63a0a5527e2 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
       Compiling net2 v0.2.31
         Running `rustc --crate-name net2 /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/net2-0.2.31/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="duration"' -C metadata=d0434709cbe7c4cf -C extra-filename=-d0434709cbe7c4cf --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern cfg_if=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libcfg_if-949acc113fb2fa42.rmeta --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
       Compiling rand v0.4.2
         Running `rustc --crate-name rand /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=d99caaf6aa5a8c17 -C extra-filename=-d99caaf6aa5a8c17 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow`
       Compiling thread_local v0.3.5
         Running `rustc --crate-name thread_local /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.3.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=e27d068d7a7acf6f -C extra-filename=-e27d068d7a7acf6f --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern lazy_static=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblazy_static-ecff4316c4748b54.rmeta --extern unreachable=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunreachable-78fa5edefa3ddeae.rmeta --cap-lints allow`
         Running `rustc --crate-name termkey /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=fe8e4b34c366f20b -C extra-filename=-fe8e4b34c366f20b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bitflags=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbitflags-cf9faf29cc51e389.rmeta --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --cap-lints allow -L /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/termkey-c/v0.17/.libs -l termkey`
       Compiling syn v0.11.11
         Running `rustc --crate-name syn /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-0.11.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="quote"' --cfg 'feature="synom"' --cfg 'feature="unicode-xid"' --cfg 'feature="visit"' -C metadata=55bdc1435ef853dc -C extra-filename=-55bdc1435ef853dc --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern quote=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libquote-962b1ed417002d01.rmeta --extern synom=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsynom-111cd58408bf16ff.rmeta --extern unicode_xid=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunicode_xid-c54f041e3818a1e0.rmeta --cap-lints allow`
       Compiling log v0.3.9
         Running `rustc --crate-name log /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.3.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=f693bdd1d04e6c84 -C extra-filename=-f693bdd1d04e6c84 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-30fe4fd8c0ea0438.rmeta --cap-lints allow`
       Compiling bytes v0.4.6
         Running `rustc --crate-name bytes /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/bytes-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=35c35578d46cbb48 -C extra-filename=-35c35578d46cbb48 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern byteorder=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbyteorder-a2d9e2fd9e8a3e2b.rmeta --extern iovec=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libiovec-93864d41c1629d0e.rmeta --cap-lints allow`
       Compiling aho-corasick v0.6.4
         Running `rustc --crate-name aho_corasick /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=df093b02fa91e12c -C extra-filename=-df093b02fa91e12c --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern memchr=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libmemchr-8f5ff63a0a5527e2.rmeta --cap-lints allow`
       Compiling mio v0.6.13
         Running `rustc --crate-name mio /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/mio-0.6.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="with-deprecated"' -C metadata=694963adb8542a66 -C extra-filename=-694963adb8542a66 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern iovec=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libiovec-93864d41c1629d0e.rmeta --extern lazycell=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblazycell-663adc702a7880f3.rmeta --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-f693bdd1d04e6c84.rmeta --extern net2=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libnet2-d0434709cbe7c4cf.rmeta --extern slab=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libslab-856a8ca78598f130.rmeta --cap-lints allow`
       Compiling rand v0.3.22
         Running `rustc --crate-name rand /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=9e8d2eae4c87ff2b -C extra-filename=-9e8d2eae4c87ff2b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rmeta --extern rand=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/librand-d99caaf6aa5a8c17.rmeta --cap-lints allow`
       Compiling tokio-timer v0.1.2
         Running `rustc --crate-name tokio_timer /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-timer-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=e99c7d933209a196 -C extra-filename=-e99c7d933209a196 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rmeta --extern slab=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libslab-856a8ca78598f130.rmeta --cap-lints allow`
       Compiling regex v0.2.6
         Running `rustc --crate-name regex /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.2.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=3b681d36eedfebf3 -C extra-filename=-3b681d36eedfebf3 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern aho_corasick=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libaho_corasick-df093b02fa91e12c.rmeta --extern memchr=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libmemchr-8f5ff63a0a5527e2.rmeta --extern regex_syntax=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libregex_syntax-1eb387de24553362.rmeta --extern thread_local=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libthread_local-e27d068d7a7acf6f.rmeta --extern utf8_ranges=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libutf8_ranges-0c5181e77282f922.rmeta --cap-lints allow`
       Compiling tokio-io v0.1.5
         Running `rustc --crate-name tokio_io /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-io-0.1.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=7654ee705f02c1b9 -C extra-filename=-7654ee705f02c1b9 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bytes=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbytes-35c35578d46cbb48.rmeta --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rmeta --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-30fe4fd8c0ea0438.rmeta --cap-lints allow`
       Compiling uuid v0.5.1
         Running `rustc --crate-name uuid /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/uuid-0.5.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="rand"' --cfg 'feature="v4"' -C metadata=04f3570e3024b4ae -C extra-filename=-04f3570e3024b4ae --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern rand=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/librand-9e8d2eae4c87ff2b.rmeta --cap-lints allow`
       Compiling serde_derive_internals v0.19.0
         Running `rustc --crate-name serde_derive_internals /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive_internals-0.19.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=50c7b66dbb494b0b -C extra-filename=-50c7b66dbb494b0b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern syn=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsyn-55bdc1435ef853dc.rmeta --extern synom=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsynom-111cd58408bf16ff.rmeta --cap-lints allow`
       Compiling tokio-core v0.1.12
         Running `rustc --crate-name tokio_core /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=08f6bc181406f741 -C extra-filename=-08f6bc181406f741 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bytes=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbytes-35c35578d46cbb48.rmeta --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rmeta --extern iovec=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libiovec-93864d41c1629d0e.rmeta --extern log=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblog-30fe4fd8c0ea0438.rmeta --extern mio=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libmio-694963adb8542a66.rmeta --extern scoped_tls=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libscoped_tls-a4ee3761c50f2e05.rmeta --extern slab=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libslab-b7bef2c79dd6524c.rmeta --extern tokio_io=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtokio_io-7654ee705f02c1b9.rmeta --cap-lints allow`
       Compiling serde_derive v1.0.27
         Running `rustc --crate-name serde_derive /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_derive-1.0.27/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' -C metadata=3cdb0e3db75cf097 -C extra-filename=-3cdb0e3db75cf097 --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern quote=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libquote-962b1ed417002d01.rlib --extern serde_derive_internals=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde_derive_internals-50c7b66dbb494b0b.rlib --extern syn=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libsyn-55bdc1435ef853dc.rlib --extern proc_macro --cap-lints allow`
       Compiling docopt v0.8.3
         Running `rustc --crate-name docopt /home/matej/.cargo/registry/src/github.com-1ecc6299db9ec823/docopt-0.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C metadata=c9b4a32634dd2e7f -C extra-filename=-c9b4a32634dd2e7f --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern lazy_static=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblazy_static-ecff4316c4748b54.rmeta --extern regex=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libregex-3b681d36eedfebf3.rmeta --extern serde=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde-eaaa36f21bdf2927.rmeta --extern serde_derive=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde_derive-3cdb0e3db75cf097.so --extern strsim=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libstrsim-b83d34ae8dacb88d.rmeta --cap-lints allow`
       Compiling rim v0.1.0 (/home/matej/archiv/knihovna/repos/rim)
         Running `rustc --crate-name rim src/main.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=82049c9ce5b8c62b -C extra-filename=-82049c9ce5b8c62b --out-dir /home/matej/archiv/knihovna/repos/rim/target/debug/deps -C incremental=/home/matej/archiv/knihovna/repos/rim/target/debug/incremental -L dependency=/home/matej/archiv/knihovna/repos/rim/target/debug/deps --extern bitflags=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libbitflags-a64879c5d1422838.rlib --extern docopt=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libdocopt-c9b4a32634dd2e7f.rlib --extern futures=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libfutures-87269fb860aa9370.rlib --extern libc=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/liblibc-51f2adca85c28c30.rlib --extern rand=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/librand-d99caaf6aa5a8c17.rlib --extern serde=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde-eaaa36f21bdf2927.rlib --extern serde_derive=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libserde_derive-3cdb0e3db75cf097.so --extern term=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libterm-0d2c1ea9b2b154d2.rlib --extern termkey=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtermkey-fe8e4b34c366f20b.rlib --extern tokio_core=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtokio_core-08f6bc181406f741.rlib --extern tokio_timer=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libtokio_timer-e99c7d933209a196.rlib --extern unicode_width=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libunicode_width-8d1fb24dc1b8a6d0.rlib --extern uuid=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libuuid-04f3570e3024b4ae.rlib --extern vec_map=/home/matej/archiv/knihovna/repos/rim/target/debug/deps/libvec_map-4418fb7d467aa148.rlib -L /home/matej/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/604a310/termkey-c/v0.17/.libs`
    warning: use of deprecated macro `try`: use the `?` operator instead
       --> src/buffer.rs:754:7
        |
    754 |       try!(self.file.seek(SeekFrom::Current(-(num_truncated_bytes as i64))));
        |       ^^^
        |
        = note: `#[warn(deprecated)]` on by default
    
    warning: use of deprecated macro `try`: use the `?` operator instead
       --> src/keymap.rs:104:1
        |
    104 | / bitflags! {
    105 | |   pub struct KeyMod: u8 {
    106 | |     const MOD_NONE  = 0;
    107 | |     const MOD_SHIFT = 1 << 0;
    ...   |
    110 | |   }
    111 | | }
        | |_^
        |
        = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
    
    warning: use of deprecated macro `try`: use the `?` operator instead
       --> src/keymap.rs:104:1
        |
    104 | / bitflags! {
    105 | |   pub struct KeyMod: u8 {
    106 | |     const MOD_NONE  = 0;
    107 | |     const MOD_SHIFT = 1 << 0;
    ...   |
    110 | |   }
    111 | | }
        | |_^
        |
        = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
    
    warning: use of deprecated macro `try`: use the `?` operator instead
       --> src/keymap.rs:104:1
        |
    104 | / bitflags! {
    105 | |   pub struct KeyMod: u8 {
    106 | |     const MOD_NONE  = 0;
    107 | |     const MOD_SHIFT = 1 << 0;
    ...   |
    110 | |   }
    111 | | }
        | |_^
        |
        = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
    
    warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
       --> src/buffer.rs:780:34
        |
    780 |       Error::IoError(ref err) => error::Error::description(err),
        |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^
    
    warning: 5 warnings emitted
    
        Finished dev [unoptimized + debuginfo] target(s) in 13.72s
         Running `target/debug/rim`
    thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "Failed creating a terminal for stdout."', src/main.rs:620:36
    stack backtrace:
       0: rust_begin_unwind
       1: core::panicking::panic_fmt
       2: core::result::unwrap_failed
       3: core::result::Result<T,E>::unwrap
                 at /home/abuild/rpmbuild/BUILD/rustc-1.47.0-src/library/core/src/result.rs:973
       4: rim::main
                 at ./src/main.rs:620
       5: core::ops::function::FnOnce::call_once
                 at /home/abuild/rpmbuild/BUILD/rustc-1.47.0-src/library/core/src/ops/function.rs:227
    note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
    rim@stitny (github *)$ rustc --version
    rustc 1.47.0
    rim@stitny (github *)$ 
    
    opened by mcepl 2
  • Command line parsing (open file)

    Command line parsing (open file)

    I'd like to be able to open files from the command line.

    I've found two libraries for command line parsing. Please check which one you like better. http://rustbyexample.com/std_misc/arg/getopts.html https://github.com/tailhook/rust-argparse

    At first I'd implement only --version and --help, other than the filename to edit. Please tell me your thoughts.

    opened by diogovk 2
  • Failing to compile using rustc 1.3.0-nightly (8fa2185e0 2015-06-27)

    Failing to compile using rustc 1.3.0-nightly (8fa2185e0 2015-06-27)

    I'm trying to compile, but I'm having problems:

    » cargo run                                                                                                       
       Compiling termkey v0.17.5 (git://github.com/mathall/termkey-rs.git#20009a4c)
       Compiling uuid v0.1.17
    /home/vini/.cargo/git/checkouts/termkey-rs-d0636d9b250f3b81/master/src/lib.rs:195:52: 195:69 error: use of unstable library feature 'slice_chars': may have yet to prove its worth
    /home/vini/.cargo/git/checkouts/termkey-rs-d0636d9b250f3b81/master/src/lib.rs:195             ::std::str::from_utf8_unchecked(bytes).slice_chars(0, 1)
                                                                                                                                         ^~~~~~~~~~~~~~~~~
    /home/vini/.cargo/git/checkouts/termkey-rs-d0636d9b250f3b81/master/src/lib.rs:195:52: 195:69 help: add #![feature(slice_chars)] to the crate attributes to enable
    error: aborting due to previous error
    Build failed, waiting for other jobs to finish...
    Could not compile `termkey`.
    
    

    If I try to update:

    cargo update                                                                                                   vini@archdiogo
        Updating registry `https://github.com/rust-lang/crates.io-index`
        Updating git repository `https://github.com/mathall/termkey-rs.git`
    ------------------------------------------------------------
    ~/github/rim(branch:github*) » cargo run                                                                                                      vini@archdiogo
       Compiling termkey v0.17.5 (https://github.com/mathall/termkey-rs.git#75403501)
       Compiling uuid v0.1.17
       Compiling rim v0.0.1 (file:///home/vini/github/rim)
    src/screen.rs:247:17: 247:50 error: wrong number of type arguments: expected 0, found 1 [E0244]
    src/screen.rs:247   terminal: Box<term::Terminal<::std::io::Stdout> + Send>,
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    src/screen.rs:247:17: 247:50 help: run `rustc --explain E0244` to see a detailed explanation
    src/screen.rs:247:17: 247:57 error: the value of the associated type `Output` (from the trait `term::Terminal`) must be specified [E0191]
    src/screen.rs:247   terminal: Box<term::Terminal<::std::io::Stdout> + Send>,
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    error: aborting due to 2 previous errors
    Could not compile `rim`.
    
    opened by diogovk 2
  • Have you seen Kakoune? | Consider option to swap verb->object syntax /w object->verb

    Have you seen Kakoune? | Consider option to swap verb->object syntax /w object->verb

    It's got this nice object->verb pattern instead of verb->object and it highlights the object as you're typing the object selection keywords, so you can see if the verb you're about to apply will have the effect you intended. And it eliminates a lot of cases where one might need to undo and try again.

    A friend sent me a link to this yesterday evening and I thought it was pretty interesting: http://kakoune.org/why-kakoune/why-kakoune.html

    Would be cool to have the option to work in either way... I'm currently investigating adding kak-like functionality to neovim with a plugin, and hopefully that's fruitful.

    opened by zenware 1
  • Add TravisCI integration

    Add TravisCI integration

    All the changes to make it work with TravisCI.

    Before merging, please go to https://travis-ci.org/ to activate the project. After merging, TravisCI will automatically launch a build for every git push.

    The first travis build I did succeeded: https://travis-ci.org/thachmai/rim/builds/64005773

    However, subsequent builds failed even though there was no changes to the source code: https://travis-ci.org/thachmai/rim/builds/64006794

    I'm a Rust newbie so I won't be able to help determine the cause... yet!

    Let me know if something is not clear in my explication.

    opened by thachmai 0
  • Can't run

    Can't run

    Caused by:
      process didn't exit successfully: `/Users/leontepe/sources/.archive/rim/target/debug/build/termkey-rs-0245bc43e5423da8/build-script-build` (exit status: 101)
      --- stderr
      Cloning into 'termkey-c/v0.17'...
      fatal: remote error:
        The unauthenticated git protocol on port 9418 is no longer supported.
      Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
      make: *** termkey-c/v0.17: No such file or directory.  Stop.
      thread 'main' panicked at 'assertion failed: Command::new(\"./build_termkey.sh\").arg(git_ref).status().unwrap().success()', /Users/leontepe/.cargo/git/checkouts/termkey-rs-f0bd9c68d915c604/736a015/build.rs:5:5
    

    I already tried changing the termkey-rs dep from git:// to https:// in the Cargo.toml, but that didn't fix it?

    opened by ghost 0
  • cargo run abort, '/usr/local/lib/libtermkey.1.dylib' (no such file)

    cargo run abort, '/usr/local/lib/libtermkey.1.dylib' (no such file)

    ❯ cargo run Finished dev [unoptimized + debuginfo] target(s) in 0.13s Runningtarget/debug/rimdyld[58957]: Library not loaded: /usr/local/lib/libtermkey.1.dylib Referenced from: /Users/chenzhang/data/rim/target/debug/rim Reason: tried: '/usr/local/lib/libtermkey.1.dylib' (no such file), '/Users/chenzhang/data/rim/target/debug/deps/libtermkey.1.dylib' (no such file), '/Users/chenzhang/data/rim/target/debug/libtermkey.1.dylib' (no such file), '/Users/chenzhang/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libtermkey.1.dylib' (no such file), '/Users/chenzhang/.rustup/toolchains/stable-x86_64-apple-darwin/lib/libtermkey.1.dylib' (no such file), '/Users/chenzhang/lib/libtermkey.1.dylib' (no such file), '/usr/lib/libtermkey.1.dylib' (no such file) [1] 58957 abort cargo run After i clone this repo, and run 'cargo run', a dependency problem acurred, what should i do ?

    opened by CheungChan 0
  • rim exits without error message when saving to file without permission

    rim exits without error message when saving to file without permission

    If you open a file which your user has read permission, but no write permission, and then try to save it (:w) rim exists with code 101 and no explanation.

    I think rim should show a message to the user and should not exit when failing to write in file.

    In the case of vim there's a line at the bottom that's "reserved" for showing warnings and erros, as well as the "vim prompt". I think I'd be nice for rim to have this "message bar" as well.

    What do you think?

    opened by diogovk 8
Owner
Mathias Hällman
Mathias Hällman
Dip editor: Multi-platform Text editor purely written in Rust

dip editor Multi-platform Text editor purely written in Rust, supercharged by Bevy game engine and Dioxus UI framework. heavily in development Why Gam

Junichi Sugiura 270 Jan 4, 2023
TIF is a terminal_image_format. (theres no TIF editor, so i made TIF images through a hex editor lol)

Colors these are the colors you can use when displaying images on the terminal BYTES: 5A = BLUE 5B = BLACK 5C = RED 5D = GREEN 5E = PURPLE 5F = WHITE

buzz 5 Dec 23, 2022
A terminal-based text editor written in Rust

Iota Iota is a terminal-based text-editor written in Rust. Here's what it looks like right now, editing itself. Motivation Iota was born out of my fru

Greg Chapple 1.6k Jan 8, 2023
A text editor in ≤1024 lines of code, written in Rust

Kibi: A text editor in ≤1024 lines of code, written in Rust A configurable text editor with UTF-8 support, incremental search, syntax highlighting, li

Ilaï Deutel 881 Dec 29, 2022
An independent Rust text editor that runs in your terminal!

Ox editor Ox is a code editor that runs in your terminal. About The Project Ox is a code editor. It was written in Rust using ANSI escape sequences. I

null 2.9k Jan 2, 2023
An experimental next-generation Electron-based text editor

Attention: GitHub has decided not to move forward with any aspect of this project. We'll archive the repository in case anybody finds value here, but

Atom Archive 8.5k Dec 26, 2022
Web base text editor written in rust

Ultron Ultron is a web based monospace text-editor with syntax highlighting, completely written in rust. I wrote this code editor for my very specific

Jovansonlee Cesar 59 Aug 8, 2022
Ginkgo is a text editor built entirely in Rust

Ginkgo is a text editor built entirely in Rust. It supports cursor movements, CTRL commands, select vim commands, insert vs. normal modes, and more. Ginkgo is based on my text editor JED, which itself was based on the popular online editor Kilo.

James Asbury 12 Oct 15, 2022
Archeum - a minimalist text editor

Archeum About The Project Archeum is a minimalist text editor that is really usefull if you've been in the vim psychosis for to long. Reject plugins,

null 4 Jul 1, 2022
(An attempt to write) a modal text editor

kaka (An attempt to write) a modal text editor. NOTE: The project is very young and certainly not ready for use. Current project goals keymap and mode

Marcin Pajkowski 4 Aug 15, 2022
An opinionated modal editor to simplify code editing from the terminal

(I'm currently refactoring the platform layer. So we have to first finish this cleanup before we're able to continue adding features) An opinionated m

Matheus Lessa Rodrigues 284 Jan 5, 2023
A modern editor with a backend written in Rust.

Xi Editor (pronounced "Zigh") A modern editor with a backend written in Rust. Maintenance status: The xi-editor project is not currently under active

null 19.7k Jan 5, 2023
A save editor for Mass Effect Trilogy

Trilogy Save Editor A save editor for Mass Effect Trilogy A bit late but just in time ! This software is similar to Gibbed's save editors (and forks)

Karlitos 118 Dec 25, 2022
Rustpad is an efficient and minimal collaborative code editor, self-hosted, no database required

Rustpad is an efficient and minimal open-source collaborative text editor based on the operational transformation algorithm

Eric Zhang 2.5k Dec 31, 2022
A package manager for the Lite-XL code editor

Lite-XL Package Manager (lpm) (Under Development) lpm is an attempt to create a package manager for the Lite-XL code editor. It's primary goal is to p

Debarchito Nath 12 Dec 11, 2022
Rust-based traffic editor for RMF

Traffic Editor III Welcome to Traffic Editor III. install stuff Unfortunately we need a newer Rust than what comes with Ubuntu 20.04. First make sure

null 2 Oct 20, 2022
Borderlands 3 Save/Profile Editor for Windows/MacOS and Linux!

Borderlands 3 Save Editor A tool to help you modify your Borderlands 3 Saves and Profiles. Currently it runs on Windows, Mac OS and Linux. It supports

Zak 195 Jan 4, 2023
My own personal code editor built with Rust + OpenGL

Glyph This is my personal code editor that I am building for fun and to get more familiar with OpenGL. Glyph currently supports Vim keybinds, syntax h

Zack Radisic 83 Dec 23, 2022
Lightning-fast and Powerful Code Editor written in Rust

Lapce Lightning-fast and Powerful Code Editor written in Rust About Lapce is written in pure Rust, with UI in Druid. It's using Xi-Editor's Rope Scien

Lapce 22.1k Jan 8, 2023