Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 945 Bytes

File metadata and controls

44 lines (28 loc) · 945 Bytes

NEOVIM CONFIG

Troubleshooting

nvim.terminal Error converting string from to UTF-8

Reproduction

  • open nvim

  • type :terminal

  • then you got the following output:

    iconv: conversion from -t unsupported
    iconv: try 'iconv -l' to get the list of supportedencodings
    Error converting string from to UTF-8
    $ 
    

Probable Reason

Solution

Add export LANG=en_US.UTF-8 to your shell profile

Cheatsheet

Get the full path of current buffer

:echo expand('%:p')

Here % represents the current buffer.

If you want to insert the full path into the current buffer, use the following command:

:put =expand('%:p')