-
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 $
Add export LANG=en_US.UTF-8 to your shell profile
: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')